From 44e8e5560b4a2af967a2f0841f1b8fd7af5a521d Mon Sep 17 00:00:00 2001 From: Neslisah Torosdagli Date: Thu, 19 Mar 2020 16:34:40 -0400 Subject: [PATCH] comment update, rayQueryEXT is writable, readonly check removed. --- glslang/MachineIndependent/Initialize.cpp | 2 +- glslang/MachineIndependent/ParseContextBase.cpp | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/glslang/MachineIndependent/Initialize.cpp b/glslang/MachineIndependent/Initialize.cpp index 0f31225a2..4b4ab80fd 100644 --- a/glslang/MachineIndependent/Initialize.cpp +++ b/glslang/MachineIndependent/Initialize.cpp @@ -4323,7 +4323,7 @@ void TBuiltIns::initialize(int version, EProfile profile, const SpvVersion& spvV "\n"); } - // Builtins for GL_NV_ray_tracing/GL_EXT_ray_tracing//GL_EXT_ray_query + // Builtins for GL_NV_ray_tracing/GL_EXT_ray_tracing/GL_EXT_ray_query if (profile != EEsProfile && version >= 460) { commonBuiltins.append("void rayQueryInitializeEXT(rayQueryEXT, accelerationStructureEXT, uint, uint, vec3, float, vec3, float);" "bool rayQueryProceedEXT(rayQueryEXT);" diff --git a/glslang/MachineIndependent/ParseContextBase.cpp b/glslang/MachineIndependent/ParseContextBase.cpp index 58da56daf..8202eba08 100644 --- a/glslang/MachineIndependent/ParseContextBase.cpp +++ b/glslang/MachineIndependent/ParseContextBase.cpp @@ -185,9 +185,6 @@ bool TParseContextBase::lValueErrorCheck(const TSourceLoc& loc, const char* op, case EbtAccStruct: message = "can't modify accelerationStructureNV"; break; - case EbtRayQuery: - message = "can't modify rayQueryEXT"; - break; #endif default: break;