projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1aeecaa
)
glcpp: Conditionally define macro GL_AMD_conservative_depth
author
Chad Versace
<chad.versace@intel.com>
Thu, 27 Jan 2011 09:40:06 +0000
(
01:40
-0800)
committer
Chad Versace
<chad.versace@intel.com>
Thu, 27 Jan 2011 00:37:44 +0000
(16:37 -0800)
Define macro GL_AMD_conservative_depth to 1 when its extension is
enabled.
src/glsl/glcpp/glcpp-parse.y
patch
|
blob
|
history
diff --git
a/src/glsl/glcpp/glcpp-parse.y
b/src/glsl/glcpp/glcpp-parse.y
index dacd32161bd91dfa8c2d2c21162526c0a807b5ea..b449eb288b8c247ced292d34c8482eed605e1d0c 100644
(file)
--- a/
src/glsl/glcpp/glcpp-parse.y
+++ b/
src/glsl/glcpp/glcpp-parse.y
@@
-1124,6
+1124,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;