DirectXShaderCompiler/external
Steven Perron df0287c23f
[SPIRV] Implement SM6.6 implicit LOD operations in compute shaders (#5829)
SPIRV has not yet implemented the changes in SM6.6 that allows
[derivatives
in compute, mesh, and amplification
shaders](https://microsoft.github.io/DirectX-Specs/d3d/HLSL_SM_6_6_Derivatives.html).
This is because there is no KHR
extension that enabled that capability in SPIR-V.

However, we have decided to use
[SPV_NV_compute_shader_derivatives](https://github.com/KhronosGroup/SPIRV-Registry/blob/main/extensions/NV/SPV_NV_compute_shader_derivatives.asciidoc)
to implement it for compute shader while we wait for a KHR extension.

This change only deals with the texture sample instructions.
The changes involve

1. modifying code that makes sure these only appear in fragment shaders
to allow compute shaders as well.
1. add the extension and capability
1. set the correct execution mode on the function when
the intrinsics are used in compute shaders.
2023-10-27 14:39:36 +00:00
..
DirectX-Headers@980971e835 [linux] Enable Reflection on *nix platforms (#4810) 2022-11-23 19:10:29 -07:00
SPIRV-Headers@4183b260f4 [SPIR-V] Update submodules (#5850) 2023-10-11 14:40:12 -04:00
SPIRV-Tools@1928c76cd6 [SPIRV] Implement SM6.6 implicit LOD operations in compute shaders (#5829) 2023-10-27 14:39:36 +00:00
effcee@66edefd2bb Update SPIRV-Tools to version v2023.3.rc1 (#5219) 2023-05-17 14:33:38 +02:00
re2@b76a3eac1d Update SPIRV-Tools to version v2023.3.rc1 (#5219) 2023-05-17 14:33:38 +02:00
CMakeLists.txt Silence cmake endif mismatch warning (#5005) 2023-02-09 08:08:14 +00:00
GTestConfig.cmake [linux-port] Fix spirv test warnings (#1337) 2018-06-02 04:16:29 -04:00