<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slang.git/tests/spirv/array-stride-decoration-2.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-06-26T19:39:40+00:00</updated>
<entry>
<title>Fix the invalid SPIRV decoration issue (#7527)</title>
<updated>2025-06-26T19:39:40+00:00</updated>
<author>
<name>kaizhangNV</name>
<email>149626564+kaizhangNV@users.noreply.github.com</email>
</author>
<published>2025-06-26T19:39:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=bf94fc3f5b73033334db28846580f16df42d6a85'/>
<id>urn:sha1:bf94fc3f5b73033334db28846580f16df42d6a85</id>
<content type='text'>
* Fix the invalid SPIRV decoration issue

Close #7508.

SPIRV doesn't allow decoration on type with Private or Function storage
class.

In our lowering logic, if the array type is used by buffer type it
will always have stride operand after lowering, so if the array is not
used by buffer type, it must be used only by thread_local or
group_shared variable, and it will not have stride operand. For this
case, we don't need to emit stride decoration for SPIRV.</content>
</entry>
</feed>
