<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slang.git/tests/cooperative-vector, 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-10T17:09:24+00:00</updated>
<entry>
<title>Addition of `Load`/`Store` coherent operations (#8395)</title>
<updated>2025-10-10T17:09:24+00:00</updated>
<author>
<name>16-Bit-Dog</name>
<email>67922228+16-Bit-Dog@users.noreply.github.com</email>
</author>
<published>2025-10-10T17:09:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=1e0908bd7107dfbdac912b693c3ab9bd6e1dc8b3'/>
<id>urn:sha1:1e0908bd7107dfbdac912b693c3ab9bd6e1dc8b3</id>
<content type='text'>
Fixes: https://github.com/shader-slang/slang/issues/7634
Duplicate of PR https://github.com/shader-slang/slang/pull/8052

Primary Changes:
* Added `storeCoherent` and `loadCoherent` for coherent load/store via
pointers. This is backed by `IRMemoryScopeAttr` which is an `IRAttr`
attached to `IRLoad` and `IRStore`
* Logic in `source\slang\slang-emit-spirv.cpp` for load/store emitting
has been reworked to be less messy and more maintainable
* Add to `hlsl.meta.slang` coop vector and coop matrix coherent
load/store operations

Secondary Changes:
* Added a missing load/store test for coop matrix:
`tests\cooperative-matrix\load-store-pointer.slang`

---------

Co-authored-by: ArielG-NV &lt;aglasroth@nvidia.com&gt;
Co-authored-by: ArielG-NV &lt;159081215+ArielG-NV@users.noreply.github.com&gt;
Co-authored-by: slangbot &lt;186143334+slangbot@users.noreply.github.com&gt;
Co-authored-by: Nathan V. Morrical &lt;natemorrical@gmail.com&gt;</content>
</entry>
<entry>
<title>Fix VVL errors on coopvec tests (#8541)</title>
<updated>2025-09-25T17:06:29+00:00</updated>
<author>
<name>Jay Kwak</name>
<email>82421531+jkwak-work@users.noreply.github.com</email>
</author>
<published>2025-09-25T17:06:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=f55f669d1badc94eb4eabf77a22a5994acca7a89'/>
<id>urn:sha1:f55f669d1badc94eb4eabf77a22a5994acca7a89</id>
<content type='text'>
It appears that the inputType of the coopvec-mat-mul cannot be signed
int32.
It could be floating types or signed int32.
Changing the tests to use uint32 instead of int32.

The spec guarantees the following combinations and the rest should be
queried at the runtime if it is supported by the HW.

https://registry.khronos.org/vulkan/specs/latest/man/html/VkCooperativeVectorPropertiesNV.html#_description


inputType | inputInterpretation | matrixInterpretation |
biasInterpretation | resultType
-- | -- | -- | -- | --
FLOAT16 | FLOAT16 | FLOAT16 | FLOAT16 | FLOAT16
UINT32 | SINT8_PACKED | SINT8 | SINT32 | SINT32
SINT8 | SINT8 | SINT8 | SINT32 | SINT32
FLOAT32 | SINT8 | SINT8 | SINT32 | SINT32
FLOAT16 | FLOAT_E4M3 | FLOAT_E4M3 | FLOAT16 | FLOAT16
FLOAT16 | FLOAT_E5M2 | FLOAT_E5M2 | FLOAT16 | FLOAT16</content>
</entry>
<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>Fix failing CoopVec tests (#7937)</title>
<updated>2025-07-27T16:57:30+00:00</updated>
<author>
<name>Jay Kwak</name>
<email>82421531+jkwak-work@users.noreply.github.com</email>
</author>
<published>2025-07-27T16:57:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=d311efd9d6ddc620f5960c6fc10f25daa628df6c'/>
<id>urn:sha1:d311efd9d6ddc620f5960c6fc10f25daa628df6c</id>
<content type='text'>
CPU tests were invalid because CPU target doesn't support float16_t.
CUDA tests were failing due to minor precision error.</content>
</entry>
<entry>
<title>Document why failing VVL coop-vec tests cannot be enabled &amp; minor cleanup/bug-fix (#7754)</title>
<updated>2025-07-16T00:48:30+00:00</updated>
<author>
<name>ArielG-NV</name>
<email>159081215+ArielG-NV@users.noreply.github.com</email>
</author>
<published>2025-07-16T00:48:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=439e025c1d3c58cc261c36f1e8d804a403b2856a'/>
<id>urn:sha1:439e025c1d3c58cc261c36f1e8d804a403b2856a</id>
<content type='text'>
* Changes

Fix a coop-vec bug, fix incorrect test synax, clean up test, comment why some coop-vec tests are stil disabled

* Changes

Fix a coop-vec bug, fix incorrect test synax, clean up test, comment why some coop-vec tests are stil disabled

* disable failing tests

* push changes

* add to failing GLSL test list</content>
</entry>
<entry>
<title>Enable (at least a sub-set of) CoopVec tests that are disabled (#7706)</title>
<updated>2025-07-11T23:39:21+00:00</updated>
<author>
<name>ArielG-NV</name>
<email>159081215+ArielG-NV@users.noreply.github.com</email>
</author>
<published>2025-07-11T23:39:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=d8d0b8969f731990820f25812f3d90ee4dd1ee75'/>
<id>urn:sha1:d8d0b8969f731990820f25812f3d90ee4dd1ee75</id>
<content type='text'>
* enable coop vec tests

* disable tests which fail with reason

* disable other failing tests

* disable failing test

* add to expected fail list

* sort list</content>
</entry>
<entry>
<title>Add matrix operand for OpCooperativeVectorMatrixMulAddNV (#7524)</title>
<updated>2025-06-26T03:09:57+00:00</updated>
<author>
<name>Gangzheng Tong</name>
<email>tonggangzheng@gmail.com</email>
</author>
<published>2025-06-26T03:09:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=5afebcf02748384471a98858eedb685024f7f854'/>
<id>urn:sha1:5afebcf02748384471a98858eedb685024f7f854</id>
<content type='text'>
* Add matrix operand for OpCooperativeVectorMatrixMulAddNV

* update tests to use the supported UINT32 input component type

* Add MatrixCSignedComponentsKHR for coopVecMatMulAddPacked

---------

Co-authored-by: Jay Kwak &lt;82421531+jkwak-work@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>Fix coopvector neg intrinsic. (#7481)</title>
<updated>2025-06-18T23:36:47+00:00</updated>
<author>
<name>Yong He</name>
<email>yonghe@outlook.com</email>
</author>
<published>2025-06-18T23:36:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=777ac6cae9776cd2d28bd5a9f627261ba9740153'/>
<id>urn:sha1:777ac6cae9776cd2d28bd5a9f627261ba9740153</id>
<content type='text'>
* Fix coopvector neg intrinsic.

* Add test case.</content>
</entry>
<entry>
<title>Add optix support for coopvec (#7286)</title>
<updated>2025-06-10T04:48:24+00:00</updated>
<author>
<name>Mukund Keshava</name>
<email>mkeshava@nvidia.com</email>
</author>
<published>2025-06-10T04:48:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=d70da65a90ccd73439895a43b3958c0ea1441f35'/>
<id>urn:sha1:d70da65a90ccd73439895a43b3958c0ea1441f35</id>
<content type='text'>
* WiP: Add coopvec support for Optix

* format code

* fix minor issues

* Fix review comments

---------

Co-authored-by: slangbot &lt;186143334+slangbot@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>Disable coopvec while using Agility SDK and until graphics driver supports it (#7357)</title>
<updated>2025-06-06T16:26:02+00:00</updated>
<author>
<name>Jay Kwak</name>
<email>82421531+jkwak-work@users.noreply.github.com</email>
</author>
<published>2025-06-06T16:26:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=2203df78332f155374866b172887d2568422ed76'/>
<id>urn:sha1:2203df78332f155374866b172887d2568422ed76</id>
<content type='text'>
* Disable coopvec tests until we have the driver support

* Remove conflicting agility sdk binaries</content>
</entry>
</feed>
