projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4070036
)
glsl: Incorporate all UBO language changes into GLSL 1.40.
author
Eric Anholt
<eric@anholt.net>
Mon, 18 Jun 2012 23:47:04 +0000
(16:47 -0700)
committer
Eric Anholt
<eric@anholt.net>
Tue, 31 Jul 2012 19:06:19 +0000
(12:06 -0700)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glsl/glsl_parser.yy
patch
|
blob
|
history
diff --git
a/src/glsl/glsl_parser.yy
b/src/glsl/glsl_parser.yy
index d44ec50e124cff6a0d04b140d912028f40c97986..b7e1a5b16e14ccfed8d8533a82aaf5b72a401485 100644
(file)
--- a/
src/glsl/glsl_parser.yy
+++ b/
src/glsl/glsl_parser.yy
@@
-298,6
+298,10
@@
version_statement:
state->version_string,
state->supported_version_string);
}
+
+ if (state->language_version >= 140) {
+ state->ARB_uniform_buffer_object_enable = true;
+ }
}
;