[Mesa-dev] [PATCH 02/11] glsl: Incorporate all UBO language changes into GLSL 1.40.
Eric Anholt
eric at anholt.net
Fri Jul 20 15:33:13 PDT 2012
---
src/glsl/glsl_parser.yy | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/glsl/glsl_parser.yy b/src/glsl/glsl_parser.yy
index b2533c8..0ed424d 100644
--- a/src/glsl/glsl_parser.yy
+++ b/src/glsl/glsl_parser.yy
@@ -291,6 +291,10 @@ version_statement:
state->version_string,
state->supported_version_string);
}
+
+ if (state->language_version >= 140) {
+ state->ARB_uniform_buffer_object_enable = true;
+ }
}
;
--
1.7.10.4
More information about the mesa-dev
mailing list