From f5ddcfc528dac469cbe30072e7f4ace450302554 Mon Sep 17 00:00:00 2001 From: davidhubbard Date: Wed, 28 Feb 2018 11:29:04 -0600 Subject: [PATCH] TBuiltIns::identifyBuiltIns: EShLangFragment fallthrough EShLangFragment falls through to EShLangCompute, only #ifndef AMD_EXTENSIONS. This is probably a bug. --- glslang/MachineIndependent/Initialize.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glslang/MachineIndependent/Initialize.cpp b/glslang/MachineIndependent/Initialize.cpp index dd1fc299..ba981288 100644 --- a/glslang/MachineIndependent/Initialize.cpp +++ b/glslang/MachineIndependent/Initialize.cpp @@ -6355,8 +6355,8 @@ void TBuiltIns::identifyBuiltIns(int version, EProfile profile, const SpvVersion #ifdef AMD_EXTENSIONS if (profile != EEsProfile) symbolTable.relateToOperator("interpolateAtVertexAMD", EOpInterpolateAtVertex); - break; #endif + break; case EShLangCompute: symbolTable.relateToOperator("memoryBarrierShared", EOpMemoryBarrierShared);