From fdef653ab5b38ac78d355d2f0148c6d77e784a8c Mon Sep 17 00:00:00 2001 From: ArielG-NV <159081215+ArielG-NV@users.noreply.github.com> Date: Fri, 14 Jun 2024 12:56:59 -0400 Subject: 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) --- source/slang/slang-emit-spirv.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/slang/slang-emit-spirv.cpp') 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: -- cgit v1.2.3