<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slang.git/tests/compute/column-major.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-11-01T13:18:54+00:00</updated>
<entry>
<title>Update Slang-RHI again to get more WGPU fixes (#5475)</title>
<updated>2024-11-01T13:18:54+00:00</updated>
<author>
<name>Anders Leino</name>
<email>aleino@nvidia.com</email>
</author>
<published>2024-11-01T13:18:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=e1c3c4ae39b27cf378e7217d111b9a92e298b7ce'/>
<id>urn:sha1:e1c3c4ae39b27cf378e7217d111b9a92e298b7ce</id>
<content type='text'>
This fixes a teardown crash, and a buffer usage mismatch issue during bind group creation.
These Slang-RHI fixes allow several WGPU tests to be enabled:

- tests/compute/column-major.slang
- tests/compute/constant-buffer-memory-packing.slang
- tests/compute/matrix-layout.hlsl
- tests/compute/non-square-column-major.slang
- tests/compute/row-major.slang
- tests/hlsl/packoffset.slang

This helps to address issue #5222.</content>
</entry>
<entry>
<title>Add WGSL support for slang-test (#5174)</title>
<updated>2024-10-07T17:16:19+00:00</updated>
<author>
<name>Anders Leino</name>
<email>aleino@nvidia.com</email>
</author>
<published>2024-10-07T17:16:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=509409ef11e3b1abd1d7e1bfb540bc172aa1a817'/>
<id>urn:sha1:509409ef11e3b1abd1d7e1bfb540bc172aa1a817</id>
<content type='text'>
* Use the assembly description as target when disassembling

I believe this is a bugfix.
It seems to have worked before because up until the WGSL case, the disassembler has been
the same executable as the one producing the binary to be disassembled.

* Add Tint as a downstream compiler

This closes issue #5104.

* Add downstream compiler for Tint.
 * Tint is wrapped in a shared library, 'slang-tint' available from [1].
 * The header file for slang-tint.dll is added in external/slang-tint-headers.
* Add some boilerplate for WGSL targets.
* Add an entry point test for WGSL.

[1] https://github.com/shader-slang/dawn/releases/tag/slang-tint-0

* Add WGSL_SPIRV as supported target for Glslang

* Add WebGPU support to slang-test

This helps to address issue #5051.

* Disable lots of crashing compute tests for 'wgpu'

This closes issue #5051.

---------

Co-authored-by: Yong He &lt;yonghe@outlook.com&gt;</content>
</entry>
<entry>
<title>Allow CPP/CUDA/Metal to lower/legalize buffer-elements to support column_major/row_major. (#4653)</title>
<updated>2024-07-19T06:04:26+00:00</updated>
<author>
<name>ArielG-NV</name>
<email>159081215+ArielG-NV@users.noreply.github.com</email>
</author>
<published>2024-07-19T06:04:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=59dd133f1c52fb0a7a388f4a8f42234f4556a28a'/>
<id>urn:sha1:59dd133f1c52fb0a7a388f4a8f42234f4556a28a</id>
<content type='text'>
* Allow CPP/CUDA/Metal to legalize their buffer-elements.

Fixes: #4537

Changes:
1. Matrix inputs require legalization (pack/unpack) to ensure consistent row_major/column_major throughout entire shader, the following enabled legalization pass fixes this.
2. Added missing CUDA intrinsic so CUDA can run more tests.
3. Added a memory packing test since this still fails for cpp/cuda/metal (due to having no memory packing enforcement).

* change memory packing tests to run for targets without packing

---------

Co-authored-by: Yong He &lt;yonghe@outlook.com&gt;</content>
</entry>
<entry>
<title>Enable full test on macos. (#4327)</title>
<updated>2024-06-12T22:06:29+00:00</updated>
<author>
<name>Yong He</name>
<email>yonghe@outlook.com</email>
</author>
<published>2024-06-12T22:06:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=b970b88b7054c3eb82f147364961ce57477fbd56'/>
<id>urn:sha1:b970b88b7054c3eb82f147364961ce57477fbd56</id>
<content type='text'>
* Enable full test on macos.

* Add failing test to expected list.

* Fix CI script.

* Update expected failure list.

* Update test list.</content>
</entry>
<entry>
<title>Refactor compiler option representations. (#3598)</title>
<updated>2024-02-20T20:24:00+00:00</updated>
<author>
<name>Yong He</name>
<email>yonghe@outlook.com</email>
</author>
<published>2024-02-20T20:24:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=4d20fd329956ac89408b1628a8291fea01bc9a6d'/>
<id>urn:sha1:4d20fd329956ac89408b1628a8291fea01bc9a6d</id>
<content type='text'>
* Refactor compiler option representation.

* Fix binary compatibility.

* Add a test for specifying compiler options at link time.

* Fix binary compatibility.

* Fix binary compatibility.

* Fix backward compatibility on matrix layout.

* Fix.

* Fix.

* Fix.

* Fix gfx.

* Fix gfx.

* Fix dynamic dispatch.

* Polish.</content>
</entry>
<entry>
<title>Matrix tests and assorted bug tests (#1814)</title>
<updated>2021-04-26T20:15:54+00:00</updated>
<author>
<name>jsmall-nvidia</name>
<email>jsmall@nvidia.com</email>
</author>
<published>2021-04-26T20:15:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=599129dea6930cf64a403e5e0dbd7cc7293df8af'/>
<id>urn:sha1:599129dea6930cf64a403e5e0dbd7cc7293df8af</id>
<content type='text'>
* #include an absolute path didn't work - because paths were taken to always be relative.

* Some test around matrix layout.

* A test for problem with C++ code output.

* Default should be column major CPU/CUDA tests confused this.

* Added column-major test

* Small fixes around tabs/comments

* Diagnostic problem for init of vector type with inappropriate params.

* Test demonstrating inconsistency between GPU and 'CPU-like' non square matrices.

* Added column major non square test.

* Remove vector mismatch - because ambiguity is arguably reasonable because float can silently promote to a vector.

* Small typo fixes for non-square-column-major.slang</content>
</entry>
</feed>
