mesa: Add AMD_conservative_depth to extension list
authorChad Versace <chad.versace@intel.com>
Thu, 27 Jan 2011 09:40:02 +0000 (01:40 -0800)
committerChad Versace <chad.versace@intel.com>
Thu, 27 Jan 2011 00:37:44 +0000 (16:37 -0800)
The extension is off by default.

First in a patchset that implements support for AMD_conservative_depth in
the compiler.

src/mesa/main/extensions.c
src/mesa/main/mtypes.h

index 7d15e3a50fb80dd699170298ecafa07572189e56..35839aea63b985c1230f4b1896f671416082e1b5 100644 (file)
@@ -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             },
index 4a039338df915da4801695515b8ca179112bceb1..08b981883fb585a12e47a0c181dafd6f7953c915 100644 (file)
@@ -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;