<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slang.git/tests/experiments, 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-07-24T01:42:24+00:00</updated>
<entry>
<title>Skip creating transitive witnesses for interface conformances that are inherited through structs (#7597)</title>
<updated>2025-07-24T01:42:24+00:00</updated>
<author>
<name>aidanfnv</name>
<email>aidanf@nvidia.com</email>
</author>
<published>2025-07-24T01:42:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=26b9a176e08ec6918d6fdebe1d7b586336f6f0fd'/>
<id>urn:sha1:26b9a176e08ec6918d6fdebe1d7b586336f6f0fd</id>
<content type='text'>
* Eliminate null-pointer reference in multilevel struct interface inheritance

* Add test

* Replace witness nullptr guard with conformance check to skip the witness

* Update test

* Skip creating transitive witness entirely for struct-struct-interface

* format code (#14)

Co-authored-by: slangbot &lt;186143334+slangbot@users.noreply.github.com&gt;

* Removes casts, check for identity witness

---------

Co-authored-by: slangbot &lt;ellieh+slangbot@nvidia.com&gt;
Co-authored-by: slangbot &lt;186143334+slangbot@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>Diagnose on attempt to specialize with interface type. (#2780)</title>
<updated>2023-04-07T17:12:00+00:00</updated>
<author>
<name>Yong He</name>
<email>yonghe@outlook.com</email>
</author>
<published>2023-04-07T17:12:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=ea15647ba6bccb5ac48de5f4b80b8c2769d69b8f'/>
<id>urn:sha1:ea15647ba6bccb5ac48de5f4b80b8c2769d69b8f</id>
<content type='text'>
* Diagnose on attempt to specialize with interface type.

Fixes ##1445.

* Enable fixed test.

* Fix test.

* Fix.

---------

Co-authored-by: Yong He &lt;yhe@nvidia.com&gt;</content>
</entry>
<entry>
<title>Overloaded name lookup fix (#2199)</title>
<updated>2022-04-26T14:10:17+00:00</updated>
<author>
<name>jsmall-nvidia</name>
<email>jsmall@nvidia.com</email>
</author>
<published>2022-04-26T14:10:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=66ad0072821b58318c6dc5d2d64c966e312951dd'/>
<id>urn:sha1:66ad0072821b58318c6dc5d2d64c966e312951dd</id>
<content type='text'>
* #include an absolute path didn't work - because paths were taken to always be relative.

* Fix for overloaded name lookup.

* Small improvements.</content>
</entry>
<entry>
<title>Handling static const variables in generics (#2171)</title>
<updated>2022-04-05T17:32:24+00:00</updated>
<author>
<name>jsmall-nvidia</name>
<email>jsmall@nvidia.com</email>
</author>
<published>2022-04-05T17:32:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=7f36c34daf633dcade3a3bab9cdcf14a34fed3cd'/>
<id>urn:sha1:7f36c34daf633dcade3a3bab9cdcf14a34fed3cd</id>
<content type='text'>
* #include an absolute path didn't work - because paths were taken to always be relative.

* Meta-2 test works.

* Add new generic test for static const variable in a function in a generic.

* Generic function with static const variable doesn't work.</content>
</entry>
<entry>
<title>Fix for default initialization with generic field (#2168)</title>
<updated>2022-03-24T15:42:56+00:00</updated>
<author>
<name>jsmall-nvidia</name>
<email>jsmall@nvidia.com</email>
</author>
<published>2022-03-24T15:42:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=b8617af2888db01f80efba9e0a103e6a61989c9c'/>
<id>urn:sha1:b8617af2888db01f80efba9e0a103e6a61989c9c</id>
<content type='text'>
* #include an absolute path didn't work - because paths were taken to always be relative.

* Fix for = {} initialization with a field that is generic type parameter.

* Handling for if a non type is passed to a generic parameter which requires a type.

* Small comment improvements.
Fix some tab issues.

* This fixes the matrix.slang issue. Move the matrix.slang test into bugs as generic-default-matrix.slang</content>
</entry>
<entry>
<title>Generic experiments (#2119)</title>
<updated>2022-02-09T16:26:04+00:00</updated>
<author>
<name>jsmall-nvidia</name>
<email>jsmall@nvidia.com</email>
</author>
<published>2022-02-09T16:26:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=160111a0e27c9325ddfc49a53fbb82d3c6f06c90'/>
<id>urn:sha1:160111a0e27c9325ddfc49a53fbb82d3c6f06c90</id>
<content type='text'>
* #include an absolute path didn't work - because paths were taken to always be relative.

* Small fixes.
Added compiler crash with generic defined in a function.
Added enum-flags test that works (by limiting backing type to int), and using __EnumType constraint.

* Add comment about crash.

* Disable crashing test.</content>
</entry>
<entry>
<title>'Explicit specialization' experiments with extensions (#2099)</title>
<updated>2022-02-03T14:28:54+00:00</updated>
<author>
<name>jsmall-nvidia</name>
<email>jsmall@nvidia.com</email>
</author>
<published>2022-02-03T14:28:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=3aaa586c90a688e035e2941a2e0327bd96a681cb'/>
<id>urn:sha1:3aaa586c90a688e035e2941a2e0327bd96a681cb</id>
<content type='text'>
* #include an absolute path didn't work - because paths were taken to always be relative.

* Explicit specialization with multiple parameters.

* Fix tabs.

* Small improvements in test comments.</content>
</entry>
<entry>
<title>Language experiments (#2068)</title>
<updated>2021-12-21T21:35:34+00:00</updated>
<author>
<name>jsmall-nvidia</name>
<email>jsmall@nvidia.com</email>
</author>
<published>2021-12-21T21:35:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=447b7e0e2be031409b1421b49c81f020353bf7c5'/>
<id>urn:sha1:447b7e0e2be031409b1421b49c81f020353bf7c5</id>
<content type='text'>
* #include an absolute path didn't work - because paths were taken to always be relative.

* Moved to experiments.
Added some more tests.

* More tests around associated types.

* Return interface tests.

* More tests.</content>
</entry>
</feed>
