<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slang.git/tests/language-feature/static_assert.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-02-23T18:31:05+00:00</updated>
<entry>
<title>Improve performance when compiling small shaders. (#6396)</title>
<updated>2025-02-23T18:31:05+00:00</updated>
<author>
<name>Yong He</name>
<email>yonghe@outlook.com</email>
</author>
<published>2025-02-23T18:31:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=51ad07d1fbffd41c758eba172aa77ebba3204924'/>
<id>urn:sha1:51ad07d1fbffd41c758eba172aa77ebba3204924</id>
<content type='text'>
Improve performance when compiling small shaders.

Avoid copying witness table entries that are not getting used during linking.
Avoid copying auto-diff related decorations and derivative functions during linking, if the user modules doesn't use autodiff.
Cache operator overload resolution results on global session, so each new Session doesn't need to repetitively run through overload resolution from scratch.</content>
</entry>
<entry>
<title>Partial implementation of static_assert (#4294)</title>
<updated>2024-06-10T20:29:02+00:00</updated>
<author>
<name>Jay Kwak</name>
<email>82421531+jkwak-work@users.noreply.github.com</email>
</author>
<published>2024-06-10T20:29:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=72016f9201e4d7820f62e7ef78cee98ed1fc4da0'/>
<id>urn:sha1:72016f9201e4d7820f62e7ef78cee98ed1fc4da0</id>
<content type='text'>
* Error out for types not supported by texture sample functions

This commit prints errors with a new keyword, `static_assert`, when the
given texture type is not supported for the target.

* Moving the check to linkAndOptimizeIR after specialization is done

* Remove unnecessary change

* Adding test

* Remove kIROp_StaticAssert once processed

* Do not remove StaticAssert because it is needed for the next
specialization

* Remove after iteration of child is done

---------

Co-authored-by: Yong He &lt;yonghe@outlook.com&gt;</content>
</entry>
</feed>
