<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slang.git/tests/spirv/pointer-bug-3.slang, branch master</title>
<subtitle>Making it easier to work with shaders</subtitle>
<id>https://git.yummers.dev/slang.git/atom?h=master</id>
<link rel='self' href='https://git.yummers.dev/slang.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/'/>
<updated>2024-05-01T23:16:38+00:00</updated>
<entry>
<title>SPIRV: Fix storage class for unwrapped pointers (#4068)</title>
<updated>2024-05-01T23:16:38+00:00</updated>
<author>
<name>cheneym2</name>
<email>acheney@nvidia.com</email>
</author>
<published>2024-05-01T23:16:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=4533c825fe628e08228037b846ee9d10004fd56f'/>
<id>urn:sha1:4533c825fe628e08228037b846ee9d10004fd56f</id>
<content type='text'>
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 &lt;yonghe@outlook.com&gt;</content>
</entry>
</feed>
