diff options
author | Morgan Armand <[email protected]> | 2011-11-11 12:26:54 +0100 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2011-11-12 12:39:51 -0800 |
commit | 54346d1f9b31de531c202ffe26b72551326ad7ae (patch) | |
tree | 13fdec776148bc267aa6b72dd518efd0e0a43350 | |
parent | b618e788976b0391fe28987537f7789e91f957a5 (diff) |
glcpp: Add GL_ARB_draw_instanced #define.
-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 1b17ff43adb..c0457b057e2 100644 --- a/src/glsl/glcpp/glcpp-parse.y +++ b/src/glsl/glcpp/glcpp-parse.y @@ -1132,6 +1132,9 @@ glcpp_parser_create (const struct gl_extensions *extensions, int api) if (extensions->ARB_shader_texture_lod) add_builtin_define(parser, "GL_ARB_shader_texture_lod", 1); + if (extensions->ARB_draw_instanced) + add_builtin_define(parser, "GL_ARB_draw_instanced", 1); + if (extensions->AMD_conservative_depth) { add_builtin_define(parser, "GL_AMD_conservative_depth", 1); add_builtin_define(parser, "GL_ARB_conservative_depth", 1); |