From: Kenneth Graunke Date: Tue, 3 Jul 2012 22:19:59 +0000 (-0700) Subject: glcpp: Add built-in #define for GL_ARB_uniform_buffer_object. X-Git-Tag: accepted/2.0alpha-wayland/20121114.171706~1313 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=532e99cbf26d175220eac245b12011939ea07d0c;p=profile%2Fivi%2Fmesa.git glcpp: Add built-in #define for GL_ARB_uniform_buffer_object. Signed-off-by: Kenneth Graunke Reviewed-by: Eric Anholt --- diff --git a/src/glsl/glcpp/glcpp-parse.y b/src/glsl/glcpp/glcpp-parse.y index cc4af16..c0c1ca1 100644 --- a/src/glsl/glcpp/glcpp-parse.y +++ b/src/glsl/glcpp/glcpp-parse.y @@ -1186,6 +1186,9 @@ glcpp_parser_create (const struct gl_extensions *extensions, int api) if (extensions->ARB_shader_bit_encoding) add_builtin_define(parser, "GL_ARB_shader_bit_encoding", 1); + + if (extensions->ARB_uniform_buffer_object) + add_builtin_define(parser, "GL_ARB_uniform_buffer_object", 1); } language_version = 110;