From: Eric Anholt Date: Mon, 18 Jun 2012 23:47:04 +0000 (-0700) Subject: glsl: Incorporate all UBO language changes into GLSL 1.40. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fafa394c15d7d4ca87fc220196dd5a57bd9cf601;p=mesa.git glsl: Incorporate all UBO language changes into GLSL 1.40. Reviewed-by: Kenneth Graunke Reviewed-by: Ian Romanick --- 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; + } } ;