From: Chad Versace Date: Thu, 27 Jan 2011 09:40:02 +0000 (-0800) Subject: mesa: Add AMD_conservative_depth to extension list X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1aeecaa43346d5ab6feec5d7caf28bd5ce53a32b;p=mesa.git mesa: Add AMD_conservative_depth to extension list The extension is off by default. First in a patchset that implements support for AMD_conservative_depth in the compiler. --- diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c index 7d15e3a50fb..35839aea63b 100644 --- a/src/mesa/main/extensions.c +++ b/src/mesa/main/extensions.c @@ -250,6 +250,7 @@ static const struct extension extension_table[] = { /* Vendor extensions */ { "GL_3DFX_texture_compression_FXT1", o(TDFX_texture_compression_FXT1), GL }, + { "GL_AMD_conservative_depth", o(AMD_conservative_depth), GL | ES2 }, { "GL_APPLE_client_storage", o(APPLE_client_storage), GL }, { "GL_APPLE_object_purgeable", o(APPLE_object_purgeable), GL }, { "GL_APPLE_packed_pixels", o(APPLE_packed_pixels), GL }, diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 4a039338df9..08b981883fb 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -2824,6 +2824,7 @@ struct gl_extensions GLboolean EXT_vertex_array_set; GLboolean OES_standard_derivatives; /* vendor extensions */ + GLboolean AMD_conservative_depth; GLboolean APPLE_client_storage; GLboolean APPLE_packed_pixels; GLboolean APPLE_vertex_array_object;