mesa: Add the GL_ARB_texture_compression_bptc extension
authorNeil Roberts <neil@linux.intel.com>
Thu, 17 Jul 2014 13:21:26 +0000 (14:21 +0100)
committerNeil Roberts <neil@linux.intel.com>
Tue, 12 Aug 2014 17:00:26 +0000 (18:00 +0100)
This adds a boolean in the gl_extensions struct for
GL_ARB_texture_compression_bptc as well as an entry in extension_table.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/extensions.c
src/mesa/main/mtypes.h

index 57776c133b81704df3153fdb0be52fc9c5405305..b8090e65c62ad4739e1689b4c74c6d09fd202606 100644 (file)
@@ -157,6 +157,7 @@ static const struct extension extension_table[] = {
    { "GL_ARB_texture_buffer_object_rgb32",         o(ARB_texture_buffer_object_rgb32),         GLC,            2009 },
    { "GL_ARB_texture_buffer_range",                o(ARB_texture_buffer_range),                GLC,            2012 },
    { "GL_ARB_texture_compression",                 o(dummy_true),                              GLL,            2000 },
+   { "GL_ARB_texture_compression_bptc",            o(ARB_texture_compression_bptc),            GL,             2010 },
    { "GL_ARB_texture_compression_rgtc",            o(ARB_texture_compression_rgtc),            GL,             2004 },
    { "GL_ARB_texture_cube_map",                    o(ARB_texture_cube_map),                    GLL,            1999 },
    { "GL_ARB_texture_cube_map_array",              o(ARB_texture_cube_map_array),              GL,             2009 },
index 3775b5ba996f5660ad6db6604a12213565b584c0..742ce3e5d578a08cc9d9b565bed5d4929a3e4195 100644 (file)
@@ -3595,6 +3595,7 @@ struct gl_extensions
    GLboolean ARB_texture_buffer_object;
    GLboolean ARB_texture_buffer_object_rgb32;
    GLboolean ARB_texture_buffer_range;
+   GLboolean ARB_texture_compression_bptc;
    GLboolean ARB_texture_compression_rgtc;
    GLboolean ARB_texture_cube_map;
    GLboolean ARB_texture_cube_map_array;