diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2012-07-03 15:19:59 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2012-07-09 11:11:59 -0700 |
commit | 532e99cbf26d175220eac245b12011939ea07d0c (patch) | |
tree | 275e87b34aeea14d5174dc13e55d7f1ddb6ae1b4 /src/glsl | |
parent | 7fabb2b5939c8640075136fec15d6b87bad9c9dd (diff) | |
download | external_mesa3d-532e99cbf26d175220eac245b12011939ea07d0c.zip external_mesa3d-532e99cbf26d175220eac245b12011939ea07d0c.tar.gz external_mesa3d-532e99cbf26d175220eac245b12011939ea07d0c.tar.bz2 |
glcpp: Add built-in #define for GL_ARB_uniform_buffer_object.
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'src/glsl')
-rw-r--r-- | src/glsl/glcpp/glcpp-parse.y | 3 |
1 files changed, 3 insertions, 0 deletions
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; |