Browse Source

glslang: disable legacy ARB_compatibility for GLSL 1.40+

Alex Szpakowski 5 years ago
parent
commit
3a8f6a35a2
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/libraries/glslang/glslang/MachineIndependent/Initialize.cpp

+ 2 - 2
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.