glcpp: Add GL_ARB_conservative_depth #define.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 25 Aug 2011 20:11:36 +0000 (13:11 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 25 Aug 2011 20:14:24 +0000 (13:14 -0700)
Forgotten in the patch that enabled the extension.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/glcpp/glcpp-parse.y

index 0a35e88..9408304 100644 (file)
@@ -1132,8 +1132,10 @@ 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->AMD_conservative_depth)
+          if (extensions->AMD_conservative_depth) {
              add_builtin_define(parser, "GL_AMD_conservative_depth", 1);
+             add_builtin_define(parser, "GL_ARB_conservative_depth", 1);
+          }
        }
 
        language_version = 110;