<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slang.git/tests/glsl-intrinsic/compute-derivative, 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-25T04:49:26+00:00</updated>
<entry>
<title>Prepare VulkanSDK release Oct 2025 (#8525)</title>
<updated>2025-09-25T04:49:26+00:00</updated>
<author>
<name>Jay Kwak</name>
<email>82421531+jkwak-work@users.noreply.github.com</email>
</author>
<published>2025-09-25T04:49:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=db44c1b732891102199f0ec9d219a33d2ab2d6a1'/>
<id>urn:sha1:db44c1b732891102199f0ec9d219a33d2ab2d6a1</id>
<content type='text'>
Related to
- https://github.com/shader-slang/slang/issues/8519</content>
</entry>
<entry>
<title>Output SPV_KHR_compute_shader_derivatives extension string instead of the NV extension (#6641)</title>
<updated>2025-03-19T21:53:57+00:00</updated>
<author>
<name>Darren Wihandi</name>
<email>65404740+fairywreath@users.noreply.github.com</email>
</author>
<published>2025-03-19T21:53:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=404e95cdd02830ba0fb215081e826025609c4d14'/>
<id>urn:sha1:404e95cdd02830ba0fb215081e826025609c4d14</id>
<content type='text'>
* Output SPV_KHR_compute_shader_derivatives instead of the NV extension

* add alias for nv extension</content>
</entry>
<entry>
<title>Refactor _Texture to constrain on texel types. (#6115)</title>
<updated>2025-01-17T22:37:27+00:00</updated>
<author>
<name>Yong He</name>
<email>yonghe@outlook.com</email>
</author>
<published>2025-01-17T22:37:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=fc77070fdc9bfa599e8d66b21743778de3011e53'/>
<id>urn:sha1:fc77070fdc9bfa599e8d66b21743778de3011e53</id>
<content type='text'>
* Refactor _Texture to constrain on texel types.

* Fix tests.

* Fix.

* Disable glsl texture test because rhi can't run it correctly.</content>
</entry>
<entry>
<title>Update spirv-tools version (#5089)</title>
<updated>2024-09-19T20:02:49+00:00</updated>
<author>
<name>cheneym2</name>
<email>acheney@nvidia.com</email>
</author>
<published>2024-09-19T20:02:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=9d40ce4e8921ef468281c91f052dbd443ecf56e2'/>
<id>urn:sha1:9d40ce4e8921ef468281c91f052dbd443ecf56e2</id>
<content type='text'>
* Update spirv-headers and spirv-tools versions

* Fix compute-derivative regressions with upgraded spirv headers

Extension was promoted from NV to KHR while retaining same enums.

Fixes #5106

* Prevent DCE on ray trace position fetch

Adds dummy usage to the intersection positions fetched
from HitTriangleVertexPositions to prevent DCE from
removing their usage.

Fixes #5105

* Update spirv-tools-generated

* More DerivativeGroup*KHR test fixes

Add fixes for a missing test intrinsic-derivative-function-in-compute.slang
Use the {{NV|KHR}} syntax to tolerate either enum.

Fixes #5106

* Squash tabs in closesthit test

* HACK test CI

* Avoid multiple IncomingRayPayloadKHR storage params

* Revert "HACK test CI"

This reverts commit c2556ea2baef0bd48e4c86f90cf17dfab80015c1.

* Avoid multiple IncomingRayPayloadKHR storage params in anyhit</content>
</entry>
<entry>
<title>Emit execution mode of type per entry point once. Emit SPIRV capability once per shader program. (#4189)</title>
<updated>2024-05-20T04:13:42+00:00</updated>
<author>
<name>ArielG-NV</name>
<email>159081215+ArielG-NV@users.noreply.github.com</email>
</author>
<published>2024-05-20T04:13:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=07c29d8b1248135cc453b1c4e38b5f7d06cb7928'/>
<id>urn:sha1:07c29d8b1248135cc453b1c4e38b5f7d06cb7928</id>
<content type='text'>
* Emit only 1 execution mode of type per entry point

Added a dictionary&lt;SpvWord,Hash&lt;ExecutionMode&gt;&gt; to ensure we don't emit multiple.

* get inst-&gt;id directly

* address review + fix test

---------

Co-authored-by: Yong He &lt;yonghe@outlook.com&gt;</content>
</entry>
<entry>
<title>Support derivative functions in compute &amp; capabilities adjustments (#4014)</title>
<updated>2024-04-25T13:18:32+00:00</updated>
<author>
<name>ArielG-NV</name>
<email>159081215+ArielG-NV@users.noreply.github.com</email>
</author>
<published>2024-04-25T13:18:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=366a947cdf2e3c6958b7a9e17d561ce76ab0f594'/>
<id>urn:sha1:366a947cdf2e3c6958b7a9e17d561ce76ab0f594</id>
<content type='text'>
* Support derivative functions in compute &amp; capabilities adjustments

fixes #4000

PR implements derivative functions in compute shaders properly so we have the functionality for SPIR-V &amp; GLSL. Tests reflect fragment and compute paths.

PR also adjusts capabilities to correct wrong SPRI-V target capabilities for when using textures.

Remarks:
1. __requireComputeDerivative(); is a intrinsic_op and not modifier since inlining will destroy the modifier.
2. Derivative mode is tied to an entry point decoration `[DerivativeGroupQuad]`/`[DerivativeGroupLinear]` or GLSL syntax ``derivative_group_linearNV`. Default is to set the mode to `[DerivativeGroupQuad]`

* remove -emit-spirv-directly

* fixes

1. fix minor issue fwidth change where I returned the wrong type
2. fix issue where glslang{glsl-&gt;spirv} is wrong, so we don't run that test and just run the glsl test &amp; direct spir-v test for intrinsic-texture.slang

* adjust as per review and refine code

1. add test to ensure multi-diverging-in-logic entry points work -- 2 functions which may cause computeDerivatives + 1 that uses, 1 that does not.
2. naming
3. use entry point ref graph for c-like-targets
4. reordered some code to util's and removed `static linline` since that was just for ease of coding on my end (should not have been pushed).

* Grammer

* split up source file + issolate GLSL emit path change.

---------

Co-authored-by: Yong He &lt;yonghe@outlook.com&gt;</content>
</entry>
</feed>
