<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slang.git/tests/glsl/interface-block.glsl, 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-23T03:17:01+00:00</updated>
<entry>
<title>Fix varying output structs in GLSL source (#8501)</title>
<updated>2025-09-23T03:17:01+00:00</updated>
<author>
<name>Julius Ikkala</name>
<email>julius.ikkala@gmail.com</email>
</author>
<published>2025-09-23T03:17:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=9e34c6d949e97fc87a0a7be4ab37092b586aee9d'/>
<id>urn:sha1:9e34c6d949e97fc87a0a7be4ab37092b586aee9d</id>
<content type='text'>
Closes #8500.

`slang-ir-translate-global-varying-var.cpp` turns the global varying
outputs into a struct that's returned from the entry point. Currently,
there's a problem when one of the outputs is a struct. It always creates
a generic `IRTypeLayout`, even when a correct type layout already
exists. Somehow, this appears to work when the global varying outputs
aren't structs.

The crash occurs in
`slang-ir-glsl-legalize.cpp:createGLSLGlobalVaryingsImpl()`. It
correctly handles the generated outer struct, but when that contains an
inner struct, it's been given a non-struct type layout and crashes.

This PR uses the correct layout if found, instead of generating a broken
placeholder. This matches the behaviour that has already been
implemented for inputs.

Additionally, I removed a call to `addResourceUsage` from both the input
and output side. I can't see any way in which it would've affected
anything, the layout builder is never used after that call and it
doesn't retroactively modify the layout that was already created.</content>
</entry>
<entry>
<title>Add support for GLSL interface blocks (#6351)</title>
<updated>2025-02-14T00:07:55+00:00</updated>
<author>
<name>cheneym2</name>
<email>acheney@nvidia.com</email>
</author>
<published>2025-02-14T00:07:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=944c19b408f20e6c5495678028f62e4e7040aa3b'/>
<id>urn:sha1:944c19b408f20e6c5495678028f62e4e7040aa3b</id>
<content type='text'>
Adds support for input GLSL interface blocks.

closes #5535 

Co-authored-by: slangbot &lt;186143334+slangbot@users.noreply.github.com&gt;</content>
</entry>
</feed>
