diff options
| author | Jay Kwak <82421531+jkwak-work@users.noreply.github.com> | 2024-12-11 13:28:40 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-11 13:28:40 -0800 |
| commit | e50aac13e2c161d672b137a62f6d66820d0f9ff1 (patch) | |
| tree | 89d30f6c2a63db452a6fe15619a6f148de4bbf39 /external/spirv-headers | |
| parent | f573c15868234ab6013faf0fc2b93a72fa89f21d (diff) | |
Update SPIRV submodules (#5815)
* Update SPIRV submodules
With the latest SPIR-V submodules, one of tests started failing:
tests/gpu-feature/texture/query/footprint/nv-shader-texture-footprint.slang
[ForceInline] is added to GLSL texture functions in order to inline %true and %false.
Without it, the value was indirectly passed down via a function parameter, which broke the existing test.
Also the test is modified to use -DAG, because the order unpredictably changed for Grad variants due to additional [ForceInline] marks for Gradient functions.
A new validation check in SPIRV-Tools was causing a validation error:
```
error: line 324: [VUID-StandaloneSpirv-OpTypeImage-06924] Cannot store to OpTypeImage, OpTypeSampler, OpTypeSampledImage, or OpTypeAccelerationStructureKHR objects
OpStore %17 %242
```
It appears that this is a bug on SPIRV-Tools.
A proper fix is proposed to Khronos/SPIRV-Tools:
https://github.com/KhronosGroup/SPIRV-Tools/pull/5914
But this commit uses `shader-slang/SPIRV-Tools/fix_for_OpImageSampleFootprintNV` with a custom fix as a temporary solution:
https://github.com/shader-slang/SPIRV-Tools/tree/fix_for_OpImageSampleFootprintNV
Diffstat (limited to 'external/spirv-headers')
| m--------- | external/spirv-headers | 0 |
1 files changed, 0 insertions, 0 deletions
diff --git a/external/spirv-headers b/external/spirv-headers -Subproject 2a9b6f951c7d6b04b6c21fe1bf3f475b68b8480 +Subproject 3f17b2af6784bfa2c5aa5dbb8e0e74a607dd8b3 |
