summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMorgan Armand <morgan.devel@gmail.com>2011-11-11 12:26:54 +0100
committerKenneth Graunke <kenneth@whitecape.org>2011-11-12 12:39:51 -0800
commit54346d1f9b31de531c202ffe26b72551326ad7ae (patch)
tree13fdec776148bc267aa6b72dd518efd0e0a43350 /src
parentb618e788976b0391fe28987537f7789e91f957a5 (diff)
glcpp: Add GL_ARB_draw_instanced #define.
Diffstat (limited to 'src')
-rw-r--r--src/glsl/glcpp/glcpp-parse.y3
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);