df0287c23f
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. |
||
---|---|---|
.. | ||
DirectX-Headers@980971e835 | ||
SPIRV-Headers@4183b260f4 | ||
SPIRV-Tools@1928c76cd6 | ||
effcee@66edefd2bb | ||
re2@b76a3eac1d | ||
CMakeLists.txt | ||
GTestConfig.cmake |