<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slang.git/tests/autodiff/no-diff-static.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-10-08T23:11:10+00:00</updated>
<entry>
<title>parser: Avoid dropping modifiers when splitting list (#8546)</title>
<updated>2025-10-08T23:11:10+00:00</updated>
<author>
<name>James Helferty (NVIDIA)</name>
<email>jhelferty@nvidia.com</email>
</author>
<published>2025-10-08T23:11:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=54d9b345bff4b01949e875366cb1e7cf1c021c61'/>
<id>urn:sha1:54d9b345bff4b01949e875366cb1e7cf1c021c61</id>
<content type='text'>
Fix for a linked list usage bug; avoids dropping any modifiers when
moving type modifiers from a linked list of modifiers into their own
linked list. Since this change results in no_diff modifiers to
traditional functions ending up on the return type instead of the
function (due to the order they're parsed in), we duplicate the no_diff
modifier onto the function declaration after the fact.

Includes a test for the original issue. The no_diff redistribution case
is covered by a slangpy device test case.

Fixes #8332

---------

Co-authored-by: slangbot &lt;186143334+slangbot@users.noreply.github.com&gt;</content>
</entry>
</feed>
