mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 13:10:10 +01:00
glcpp: Conditionally define macro GL_AMD_conservative_depth
Define macro GL_AMD_conservative_depth to 1 when its extension is enabled.
This commit is contained in:
parent
1aeecaa433
commit
0423f24eb8
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue