From: Ian Romanick <[email protected]>
Signed-off-by: Ian Romanick <[email protected]>
Reported-by: Dan Ginsburg <[email protected]>
---
src/glsl/glsl_parser_extras.cpp | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/glsl/glsl_parser_extras.cpp b/src/glsl/glsl_parser_extras.cpp
index 3f65ca5..e92f36e 100644
--- a/src/glsl/glsl_parser_extras.cpp
+++ b/src/glsl/glsl_parser_extras.cpp
@@ -306,6 +306,11 @@ _mesa_glsl_parse_state::process_version_directive(YYLTYPE
*locp, int version,
if (this->language_version == 300 && this->es_shader) {
this->ARB_explicit_attrib_location_enable = true;
}
+
+ if (this->language_version >= 330) {
+ this->ARB_shader_bit_encoding_enable = true;
+ this->ARB_explicit_attrib_location_enable = true;
+ }
}
extern "C" {
--
1.8.1.4
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev