[Mesa-dev] [PATCH 2/3] glsl: Set ARB_shader_bit_encoding_enable = true for GLSL 3.30 / ES 3.00.

Kenneth Graunke kenneth at whitecape.org
Fri Sep 13 11:25:42 PDT 2013


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 <kenneth at whitecape.org>
Cc: Ian Romanick <idr at 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



More information about the mesa-dev mailing list