[Mesa-dev] [PATCH 02/10] mesa: add ARB_texture_cube_map_array extension bits

Kenneth Graunke kenneth at whitecape.org
Wed Nov 7 09:38:50 PST 2012


On 11/06/2012 02:15 PM, Dave Airlie wrote:
> This just adds the bit + extension name.
>
> Signed-off-by: Dave Airlie <airlied at redhat.com>
> ---
>   src/mesa/main/extensions.c | 1 +
>   src/mesa/main/mtypes.h     | 1 +
>   2 files changed, 2 insertions(+)
>
> diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c
> index f8688cd..d5a7886 100644
> --- a/src/mesa/main/extensions.c
> +++ b/src/mesa/main/extensions.c
> @@ -129,6 +129,7 @@ static const struct extension extension_table[] = {
>      { "GL_ARB_texture_compression",                 o(dummy_true),                              GLL,            2000 },
>      { "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),              GLL,             2009 },

I think this should be "GL", to signify that the functionality is 
available in both core and legacy contexts.

>      { "GL_ARB_texture_env_add",                     o(dummy_true),                              GLL,            1999 },
>      { "GL_ARB_texture_env_combine",                 o(ARB_texture_env_combine),                 GLL,            2001 },
>      { "GL_ARB_texture_env_crossbar",                o(ARB_texture_env_crossbar),                GLL,            2001 },
> diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
> index c8f2ca3..dcfb7e5 100644
> --- a/src/mesa/main/mtypes.h
> +++ b/src/mesa/main/mtypes.h
> @@ -2973,6 +2973,7 @@ struct gl_extensions
>      GLboolean ARB_texture_buffer_object;
>      GLboolean ARB_texture_compression_rgtc;
>      GLboolean ARB_texture_cube_map;
> +   GLboolean ARB_texture_cube_map_array;
>      GLboolean ARB_texture_env_combine;
>      GLboolean ARB_texture_env_crossbar;
>      GLboolean ARB_texture_env_dot3;


More information about the mesa-dev mailing list