This should have no effect, since the only user of this flag is
builtin_functions.cpp, which already explicitly checks for the core
versions.  Still, it's probably not a bad idea.

Signed-off-by: Kenneth Graunke <kenn...@whitecape.org>
Cc: Ian Romanick <i...@freedesktop.org>
---
 src/glsl/glsl_parser_extras.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/glsl/glsl_parser_extras.cpp b/src/glsl/glsl_parser_extras.cpp
index aa3ad8d..a2432a3 100644
--- a/src/glsl/glsl_parser_extras.cpp
+++ b/src/glsl/glsl_parser_extras.cpp
@@ -306,6 +306,7 @@ _mesa_glsl_parse_state::process_version_directive(YYLTYPE 
*locp, int version,
 
    if (this->is_version(330, 300)) {
       this->ARB_explicit_attrib_location_enable = true;
+      this->ARB_shader_bit_encoding_enable = true;
    }
 }
 
-- 
1.8.3.4

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to