Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/KhronosGroup/SPIRV-Cross.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Kristian Arntzen <post@arntzen-software.no>2021-07-19 14:36:37 +0300
committerHans-Kristian Arntzen <post@arntzen-software.no>2021-07-19 15:01:21 +0300
commit5b227cc57cd48e4cd07b8d97846343f2c19e6ae3 (patch)
tree94f143c7d967f0c4f76edb9c9dac532c1abb4109 /spirv_cross.cpp
parent6196e3b029689add4d34e011e5edd8f6247da348 (diff)
GLSL: Implement GL_EXT_ray_query.
Diffstat (limited to 'spirv_cross.cpp')
-rw-r--r--spirv_cross.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/spirv_cross.cpp b/spirv_cross.cpp
index a1c0c992..4fcd969a 100644
--- a/spirv_cross.cpp
+++ b/spirv_cross.cpp
@@ -167,6 +167,12 @@ bool Compiler::block_is_pure(const SPIRBlock &block)
case OpTraceRayKHR:
case OpExecuteCallableNV:
case OpExecuteCallableKHR:
+ case OpRayQueryInitializeKHR:
+ case OpRayQueryTerminateKHR:
+ case OpRayQueryGenerateIntersectionKHR:
+ case OpRayQueryConfirmIntersectionKHR:
+ case OpRayQueryProceedKHR:
+ // There are various getters in ray query, but they are considered pure.
return false;
// OpExtInst is potentially impure depending on extension, but GLSL builtins are at least pure.