On Mon, Jun 1, 2015 at 10:13 AM, Nanley Chery <nanleych...@gmail.com> wrote:
> From: Nanley Chery <nanley.g.ch...@intel.com>
>
> v2: alphabetize the extensions.
>     remove OES ASTC extension.
>
> Signed-off-by: Nanley Chery <nanley.g.ch...@intel.com>
> ---
>  src/mesa/main/extensions.c | 2 ++
>  src/mesa/main/mtypes.h     | 2 ++
>  2 files changed, 4 insertions(+)
>
> diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c
> index c82416a..39ce630 100644
> --- a/src/mesa/main/extensions.c
> +++ b/src/mesa/main/extensions.c
> @@ -336,6 +336,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 },
> diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
> index 8342517..51b9113 100644
> --- a/src/mesa/main/mtypes.h
> +++ b/src/mesa/main/mtypes.h
> @@ -3740,6 +3740,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;
> --
> 2.4.1
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reviewed-by: Anuj Phogat <anuj.pho...@gmail.com>
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to