[Mesa-dev] [PATCH 02/10] glcpp: Add predefined macro for GL_AMD_conservative_depth
Chad Versace
chad.versace at intel.com
Sat Oct 23 11:22:22 PDT 2010
---
src/glsl/glcpp/glcpp-parse.y | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/glsl/glcpp/glcpp-parse.y b/src/glsl/glcpp/glcpp-parse.y
index b31a18f..06b2b18 100644
--- a/src/glsl/glcpp/glcpp-parse.y
+++ b/src/glsl/glcpp/glcpp-parse.y
@@ -1097,6 +1097,8 @@ glcpp_parser_create (const struct gl_extensions *extensions, int api)
if (extensions->ARB_explicit_attrib_location)
add_builtin_define(parser, "GL_ARB_explicit_attrib_location", 1);
+ if (extensions->AMD_conservative_depth)
+ add_builtin_define(parser, "GL_AMD_conservative_depth", 1);
}
language_version = 110;
--
1.7.1
More information about the mesa-dev
mailing list