mesa: add ASTC extensions to the extensions table
authorNanley Chery <nanley.g.chery@intel.com>
Tue, 19 May 2015 22:41:28 +0000 (15:41 -0700)
committerNanley Chery <nanley.g.chery@intel.com>
Wed, 26 Aug 2015 21:36:42 +0000 (14:36 -0700)
v2: alphabetize the extensions.
    remove OES ASTC extension.

Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
src/mesa/main/extensions.c
src/mesa/main/mtypes.h

index 4a3c231e36f317d90f549ed1b8c690b453413cae..03303ac26503b2804019c06b836749cc8d66c0fa 100644 (file)
@@ -342,6 +342,8 @@ static const struct extension extension_table[] = {
    /* KHR extensions */
    { "GL_KHR_debug",                               o(dummy_true),                              GL,             2012 },
    { "GL_KHR_context_flush_control",               o(dummy_true),                              GL       | ES2, 2014 },
+   { "GL_KHR_texture_compression_astc_hdr",        o(KHR_texture_compression_astc_hdr),        GL       | ES2, 2012 },
+   { "GL_KHR_texture_compression_astc_ldr",        o(KHR_texture_compression_astc_ldr),        GL       | ES2, 2012 },
 
    /* Vendor extensions */
    { "GL_3DFX_texture_compression_FXT1",           o(TDFX_texture_compression_FXT1),           GL,             1999 },
index 5031b0840cb1dc763711d2660755bb71436a8735..a172952c1fbfb01fe1f0cc72fe7e86b8a1d2aa66 100644 (file)
@@ -3853,6 +3853,8 @@ struct gl_extensions
    GLboolean ATI_fragment_shader;
    GLboolean ATI_separate_stencil;
    GLboolean INTEL_performance_query;
+   GLboolean KHR_texture_compression_astc_hdr;
+   GLboolean KHR_texture_compression_astc_ldr;
    GLboolean MESA_pack_invert;
    GLboolean MESA_ycbcr_texture;
    GLboolean NV_conditional_render;