[Mesa-dev] [PATCH 03.5/18] glcpp: Add built-in #define for GL_ARB_uniform_buffer_object.
Kenneth Graunke
kenneth at whitecape.org
Tue Jul 3 15:19:59 PDT 2012
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
---
src/glsl/glcpp/glcpp-parse.y | 3 +++
1 file changed, 3 insertions(+)
I think this minor detail got overlooked. Feel free to toss it somewhere
in your series or squash with something.
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;
--
1.7.10.4
More information about the mesa-dev
mailing list