Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SPIRV: Fix storage class for unwrapped pointers (shader-slang#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 shader-slang#3946 Co-authored-by: Yong He <[email protected]>
- Loading branch information