<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slang.git/tests/spirv/c-layout-buffer-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>2025-09-10T18:41:07+00:00</updated>
<entry>
<title>Fix pointers and C-like layout in varying parameters (#8425)</title>
<updated>2025-09-10T18:41:07+00:00</updated>
<author>
<name>Julius Ikkala</name>
<email>julius.ikkala@gmail.com</email>
</author>
<published>2025-09-10T18:41:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=ec42c4a20facbcae441cd172bfd607614e761907'/>
<id>urn:sha1:ec42c4a20facbcae441cd172bfd607614e761907</id>
<content type='text'>
Closes #8409, but ended up being more about fixing another bug. While
the issue itself seems to only be a simple typo fix (see second commit
in this PR), I found out during writing a test that pointers never got
correct locations regardless of layout. Their locations were always
assigned to zero due to lacking a resource usage entry in `TypeLayout`.
They were also missing the `Flat` decoration, so I went ahead and added
that too.

I can split this up into two separate PRs if that's preferred; both
aspects just share a test right now and fix a similar-looking issue in
the resulting SPIR-V.</content>
</entry>
</feed>
