From 3a8f6a35a25a9ca6a23246a19de5dbf7a985c0d9 Mon Sep 17 00:00:00 2001 From: Alex Szpakowski Date: Sun, 26 Apr 2020 22:57:17 -0300 Subject: [PATCH] glslang: disable legacy ARB_compatibility for GLSL 1.40+ --- .../glslang/glslang/MachineIndependent/Initialize.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libraries/glslang/glslang/MachineIndependent/Initialize.cpp b/src/libraries/glslang/glslang/MachineIndependent/Initialize.cpp index 0c6adb025..2fb44d089 100644 --- a/src/libraries/glslang/glslang/MachineIndependent/Initialize.cpp +++ b/src/libraries/glslang/glslang/MachineIndependent/Initialize.cpp @@ -57,9 +57,9 @@ namespace glslang { // TODO: ARB_Compatability: do full extension support -const bool ARBCompatibility = true; +const bool ARBCompatibility = false; -const bool ForwardCompatibility = false; +const bool ForwardCompatibility = true; // change this back to false if depending on textual spellings of texturing calls when consuming the AST // Using PureOperatorBuiltins=false is deprecated.