<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slang.git/tests/hlsl/simple-hull-shader-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>2024-08-26T23:07:10+00:00</updated>
<entry>
<title>Fix Varying Variable Location Assignments With Hull Shaders (#4915)</title>
<updated>2024-08-26T23:07:10+00:00</updated>
<author>
<name>ArielG-NV</name>
<email>159081215+ArielG-NV@users.noreply.github.com</email>
</author>
<published>2024-08-26T23:07:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=f0ba756c2f982aac8095ff0928d048fc97548315'/>
<id>urn:sha1:f0ba756c2f982aac8095ff0928d048fc97548315</id>
<content type='text'>
* Fix Varying Variable Location Assignments With Hull Shaders

Fixes: #4913
Fixes: #4540

Changes:
1. Added `kIROp_ControlBarrier` to HLSL/GLSL emitting.
2. Added a method to track 'used' and 'unused' varyings for when legalizing GLSL. This allows us to assign correct offsets to automatically added varyings
    * Added a `ZeroLSB` check to UIntSet for this purpose

* add missing return

* code comment adjustment

* cleanup

* comment and HLSL controlBarrier mistake

* assume space for glsl/spriv varying is irrelevant</content>
</entry>
</feed>
