summaryrefslogtreecommitdiff
path: root/source/slang/slang-emit-glsl.cpp
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2024-12-30 23:39:41 -0800
committerGitHub <noreply@github.com>2024-12-30 23:39:41 -0800
commit3f43d6c14320c71a170b697bf13a4f130a71d297 (patch)
treef2e97eff84b666095ed73e95333b674d99036934 /source/slang/slang-emit-glsl.cpp
parentcc1b96d91d8875bf727079d58fbf78af1135f505 (diff)
Add `RaytracingAccelerationStructure::__init(uint64_t)`. (#5967)
Diffstat (limited to 'source/slang/slang-emit-glsl.cpp')
-rw-r--r--source/slang/slang-emit-glsl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/slang/slang-emit-glsl.cpp b/source/slang/slang-emit-glsl.cpp
index a19c9c01f..a863e7eb1 100644
--- a/source/slang/slang-emit-glsl.cpp
+++ b/source/slang/slang-emit-glsl.cpp
@@ -3139,6 +3139,7 @@ void GLSLSourceEmitter::emitSimpleTypeImpl(IRType* type)
}
case kIROp_RayQueryType:
{
+ _requireRayQuery();
m_writer->emit("rayQueryEXT");
return;
}