diff options
| author | cheneym2 <acheney@nvidia.com> | 2024-05-01 19:16:38 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-01 16:16:38 -0700 |
| commit | 4533c825fe628e08228037b846ee9d10004fd56f (patch) | |
| tree | 8437b102233878c96f1ee95161751a318d992a1b /tools/render-test/render-test-main.cpp | |
| parent | 853987defb7090d77938593c271413d92447f7b1 (diff) | |
SPIRV: Fix storage class for unwrapped pointers (#4068)
In SPIRV legalization, a struct wrapper is created around push constants
but is not itself legalized. Putting the struct type into the work
list causes the storage access of the push constant pointer to be
PhysicalStorageBuffer as expected, instead of Function scope that was
produced without the added struct legalization.
Adds a SPIRV test that exercises the fix.
Fixes #3946
Co-authored-by: Yong He <yonghe@outlook.com>
Diffstat (limited to 'tools/render-test/render-test-main.cpp')
0 files changed, 0 insertions, 0 deletions
