<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slang.git/tests/library, 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-02T23:43:48+00:00</updated>
<entry>
<title>render-test: Change D3D12 default to sm_6_5 (#8320)</title>
<updated>2025-09-02T23:43:48+00:00</updated>
<author>
<name>James Helferty (NVIDIA)</name>
<email>jhelferty@nvidia.com</email>
</author>
<published>2025-09-02T23:43:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=f02b08490aa905f42a8d90381db84b1f8e409c0c'/>
<id>urn:sha1:f02b08490aa905f42a8d90381db84b1f8e409c0c</id>
<content type='text'>
Changes default for render-test to sm_6_5.
Since sm_6_5 is the new default, remove the -use-dxil option, add
-use-dxcb option
Remove -use-dxil option from all test cases.
Add -use-dxcb to two tests that needed it.

Fixes #7611</content>
</entry>
<entry>
<title>Allow Link time constant array length sizing, warn on unsupported functionality (#7067)</title>
<updated>2025-07-01T15:36:02+00:00</updated>
<author>
<name>Ellie Hermaszewska</name>
<email>ellieh@nvidia.com</email>
</author>
<published>2025-07-01T15:36:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=c94ca1692e101df87215232e87fa7edadc1a7b05'/>
<id>urn:sha1:c94ca1692e101df87215232e87fa7edadc1a7b05</id>
<content type='text'>
* Add link time array layout test

* Add link time constant array size compilation test

* Link time constant array size test

* Allow getting link time array size

Closes https://github.com/shader-slang/slang/issues/6753

* format

* Switch to SIMPLE test and check output

* Implement without binary api changes

* diagnose on link time constant sized array

* fix test

---------

Co-authored-by: Yong He &lt;yonghe@outlook.com&gt;</content>
</entry>
<entry>
<title>Fix ambiguous reference for 'extern' and 'export' (#7515)</title>
<updated>2025-06-25T17:01:54+00:00</updated>
<author>
<name>kaizhangNV</name>
<email>149626564+kaizhangNV@users.noreply.github.com</email>
</author>
<published>2025-06-25T17:01:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=d48f050cb0209a4ba9819a094ffd1e7a7c2524ee'/>
<id>urn:sha1:d48f050cb0209a4ba9819a094ffd1e7a7c2524ee</id>
<content type='text'>
Close #7509.

When there are both `export` and `extern` decls in lookup result,
we should remove all `extern` decls.</content>
</entry>
<entry>
<title>IR: Add SPIR-V disassembly for embedded downstream IR dumps (#6529)</title>
<updated>2025-03-11T16:10:05+00:00</updated>
<author>
<name>Mukund Keshava</name>
<email>mkeshava@nvidia.com</email>
</author>
<published>2025-03-11T16:10:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=f59e0ef409844f2514435a8df8ceeff3663e5db3'/>
<id>urn:sha1:f59e0ef409844f2514435a8df8ceeff3663e5db3</id>
<content type='text'>
* IR: Add SPIR-V disassembly for embedded downstream IR dumps

When dumping IR that contains embedded downstream SPIR-V code (via
EmbeddedDownstreamIR instructions), display the disassembled SPIR-V
instead of just showing "&lt;binary blob&gt;".

This CL also does:
- Adds a new interface for disassembly and get result.
- Modify export-library-generics.slang test test to check for the
  disassembled SPIR-V

Fixes #6513

* Add module-dual-target-verify test

Fixes #6517
Adds a new test to verify that dxil and spirv targets are stored
separately in the precompiled blob.

* Fix review comments from cheneym2

* format code

---------

Co-authored-by: slangbot &lt;186143334+slangbot@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>Various WGSL fixes. (#5490)</title>
<updated>2024-11-05T01:37:50+00:00</updated>
<author>
<name>Yong He</name>
<email>yonghe@outlook.com</email>
</author>
<published>2024-11-05T01:37:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=7c2ff54758d26b73074fd14143ecd843ba685e0d'/>
<id>urn:sha1:7c2ff54758d26b73074fd14143ecd843ba685e0d</id>
<content type='text'>
* [WGSL] make sure switch has a default label.

* Various WGSL fixes.

* Update rhi submodule commit

* format code

* Remove unnecessary DISABLE_TEST directive on not applicable test.

* Matrix comp mul + `select`.

* Legalize binary ops for wgsl.

---------

Co-authored-by: slangbot &lt;186143334+slangbot@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>Precompiled SPIR-V import support (#5048)</title>
<updated>2024-10-29T20:42:18+00:00</updated>
<author>
<name>cheneym2</name>
<email>acheney@nvidia.com</email>
</author>
<published>2024-10-29T20:42:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=613a29affe272772dfe0c463d866fb0b8c1d42ee'/>
<id>urn:sha1:613a29affe272772dfe0c463d866fb0b8c1d42ee</id>
<content type='text'>
* Precompiled SPIR-V import support

Adds appropriate linkage and function declaration syntax
for SPIR-V functions that are declared, to be imported
from another SPIR-V module.

Unlike DXIL, stripping the Slang IR for a function down
to a declaration requires retaining a block of parameters,
as the function declaration must be emitted to SPIR-V
with the same parameters as a definition. Because that
thwarts the logic in Slang to tell the difference between
a declaration and definition, and explicit decoration is
introduced to explicitly mark functions which need to be
treated as declarations during emit phase.

Fixes #4992

Co-authored-by: Yong He &lt;yonghe@outlook.com&gt;</content>
</entry>
<entry>
<title>Fix precompiled glsl modules (#5230)</title>
<updated>2024-10-09T18:42:13+00:00</updated>
<author>
<name>cheneym2</name>
<email>acheney@nvidia.com</email>
</author>
<published>2024-10-09T18:42:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=1bbc421a663bd494cc1a4dd097852553049cc1d5'/>
<id>urn:sha1:1bbc421a663bd494cc1a4dd097852553049cc1d5</id>
<content type='text'>
When precompiling modules defined
with glsl, it's necessary to link in the
glsl definition module.

Reuse the public fillRequirements declaration</content>
</entry>
<entry>
<title>Add interfaces for retrieving separate linkable downstream binaries (#5128)</title>
<updated>2024-10-04T14:20:57+00:00</updated>
<author>
<name>cheneym2</name>
<email>acheney@nvidia.com</email>
</author>
<published>2024-10-04T14:20:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=f521c2002e6b664944c6c39bab767dca1802887a'/>
<id>urn:sha1:f521c2002e6b664944c6c39bab767dca1802887a</id>
<content type='text'>
* Implement separate downstream library interface

Create a new com interface to house the methods for
precompiling slang modules to target code.

Add methods to count dependent modules and scrape
them for downstream target binaries such that the
downstream target binaries are linkabe outside
of slang, e.g. via spirv-link or dxc.

Fixes #5147

* Rename to _Experimental

Clearly identify this as an interface subject to change.</content>
</entry>
<entry>
<title>Initial -embed-spirv support (#4974)</title>
<updated>2024-09-05T18:59:28+00:00</updated>
<author>
<name>cheneym2</name>
<email>acheney@nvidia.com</email>
</author>
<published>2024-09-05T18:59:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=313677160a186efebf83fab4df7d08dd119a5cd2'/>
<id>urn:sha1:313677160a186efebf83fab4df7d08dd119a5cd2</id>
<content type='text'>
* Initial -embed-spirv support

Add support for SPIR-V precompilation using the framework
established for DXIL.

Work on #4883

* SLANG_UNUSED

* Add linkage attributes to exported spirv functions

* Combine DXIL and SPIRV paths

* Whitespace fix

* Merge remaining precompiled spirv/dxil paths

* Change inst accessors to return codegentarget

* Add unit test for precompiled spirv

---------

Co-authored-by: Yong He &lt;yonghe@outlook.com&gt;</content>
</entry>
<entry>
<title>Fix resource specialization with `-embed-dxil` (#4990)</title>
<updated>2024-09-04T23:57:06+00:00</updated>
<author>
<name>ArielG-NV</name>
<email>159081215+ArielG-NV@users.noreply.github.com</email>
</author>
<published>2024-09-04T23:57:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=dc3f2d65848837afaf528beefc305534a29540c8'/>
<id>urn:sha1:dc3f2d65848837afaf528beefc305534a29540c8</id>
<content type='text'>
* Fix resource specialization with `-embed-dxil`

fixes: #4989

Changes:
1. Before handing off to DCE an `oldFunc` which should be removed, clean up any leftover `IRKeepAliveDecoration` (else DCE won't remove our `oldFunc`s)</content>
</entry>
</feed>
