From fafa394c15d7d4ca87fc220196dd5a57bd9cf601 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 18 Jun 2012 16:47:04 -0700 Subject: [PATCH] glsl: Incorporate all UBO language changes into GLSL 1.40. Reviewed-by: Kenneth Graunke Reviewed-by: Ian Romanick --- 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 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; + } } ; -- 2.30.2