projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fabb2b
)
glcpp: Add built-in #define for GL_ARB_uniform_buffer_object.
author
Kenneth Graunke
<kenneth@whitecape.org>
Tue, 3 Jul 2012 22:19:59 +0000
(15:19 -0700)
committer
Eric Anholt
<eric@anholt.net>
Mon, 9 Jul 2012 18:11:59 +0000
(11:11 -0700)
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/glsl/glcpp/glcpp-parse.y
patch
|
blob
|
history
diff --git
a/src/glsl/glcpp/glcpp-parse.y
b/src/glsl/glcpp/glcpp-parse.y
index cc4af168976f2eefe2f90502a4e6058fcd8548f9..c0c1ca197c5c929c617fed85fe90e55c6480051b 100644
(file)
--- 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;