diff options
| author | ArielG-NV <159081215+ArielG-NV@users.noreply.github.com> | 2024-06-14 12:56:59 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-14 09:56:59 -0700 |
| commit | fdef653ab5b38ac78d355d2f0148c6d77e784a8c (patch) | |
| tree | 5319d02e0678b39321868fd93befbfa7062d7726 /source/slang/slang-emit-spirv.cpp | |
| parent | 33e81a03115dad223b244ca689e2abdbf26641f7 (diff) | |
Improve Direct SPIRV Backend Test Coverage (#4396)
'raytracing' and 'texture-footprint' tests
fixed texture-footprint bug
changed when we emit raytracing/rayquery extensions with glsl backend (to reduce incorrect extension emitting)
Diffstat (limited to 'source/slang/slang-emit-spirv.cpp')
| -rw-r--r-- | source/slang/slang-emit-spirv.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/slang/slang-emit-spirv.cpp b/source/slang/slang-emit-spirv.cpp index df60feecf..3ee0d9241 100644 --- a/source/slang/slang-emit-spirv.cpp +++ b/source/slang/slang-emit-spirv.cpp @@ -3590,8 +3590,8 @@ struct SPIRVEmitContext case kIROp_VulkanRayPayloadDecoration: case kIROp_VulkanRayPayloadInDecoration: // needed since GLSL will not set optypes accordingly, but will keep the decoration - ensureExtensionDeclaration(UnownedStringSlice("SPV_KHR_ray_query")); - requireSPIRVCapability(SpvCapabilityRayQueryKHR); + ensureExtensionDeclaration(UnownedStringSlice("SPV_KHR_ray_tracing")); + requireSPIRVCapability(SpvCapabilityRayTracingKHR); isRayTracingObject = true; break; case kIROp_InterpolationModeDecoration: |
