diff options
author | Eric Anholt <[email protected]> | 2012-06-18 16:47:04 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2012-07-31 12:06:19 -0700 |
commit | fafa394c15d7d4ca87fc220196dd5a57bd9cf601 (patch) | |
tree | dfc4907ae0a31974171ec793f3a5b03cd137e4dd | |
parent | 4070036259555a7791f1bc6a3a161c5a62500a21 (diff) |
glsl: Incorporate all UBO language changes into GLSL 1.40.
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
-rw-r--r-- | src/glsl/glsl_parser.yy | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/glsl/glsl_parser.yy b/src/glsl/glsl_parser.yy index d44ec50e124..b7e1a5b16e1 100644 --- 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; + } } ; |