glcpp: Add GL_ARB_draw_instanced #define.
authorMorgan Armand <morgan.devel@gmail.com>
Fri, 11 Nov 2011 11:26:54 +0000 (12:26 +0100)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 12 Nov 2011 20:39:51 +0000 (12:39 -0800)
src/glsl/glcpp/glcpp-parse.y

index 1b17ff43adbdebb50e5d040e70b73437f9934987..c0457b057e2e76b76ada9bde5c2fd1528ab936ed 100644 (file)
@@ -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);