summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulius Ikkala <julius.ikkala@gmail.com>2025-07-11 00:17:38 +0300
committerGitHub <noreply@github.com>2025-07-10 21:17:38 +0000
commit850df7913a17ec47f7fde12083d0d3e55170cc7b (patch)
treee586e604efc838893284c15048aa211c787d58c2
parentdf398fab63ac0c14a4a6cf34e4711a67ec1f4724 (diff)
Fix CommittedRayInstanceCustomIndex generating wrong SPIR-V opcode (#7659)
-rw-r--r--source/slang/hlsl.meta.slang2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/hlsl.meta.slang b/source/slang/hlsl.meta.slang
index 769354c92..c1449f3cb 100644
--- a/source/slang/hlsl.meta.slang
+++ b/source/slang/hlsl.meta.slang
@@ -18947,7 +18947,7 @@ struct RayQuery <let rayFlagsGeneric : RAY_FLAG = RAY_FLAG_NONE>
uint iCandidateOrCommitted = 1;
return spirv_asm
{
- result:$$int = OpRayQueryGetClusterIdNV &this $iCandidateOrCommitted;
+ result:$$int = OpRayQueryGetIntersectionInstanceCustomIndexKHR &this $iCandidateOrCommitted;
};
}
}