[Mesa-dev] [PATCH 21/25] mesa: Add extension enable and table entry for OES_shader_image_atomic.

Matt Turner mattst88 at gmail.com
Mon Aug 17 12:03:12 PDT 2015


On Mon, Aug 17, 2015 at 9:46 AM, Francisco Jerez <currojerez at riseup.net> wrote:
> ---
>  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 d934d19..38c7bc8 100644
> --- a/src/mesa/main/extensions.c
> +++ b/src/mesa/main/extensions.c
> @@ -319,6 +319,7 @@ static const struct extension extension_table[] = {
>     { "GL_OES_query_matrix",                        o(dummy_true),                                   ES1,       2003 },
>     { "GL_OES_read_format",                         o(dummy_true),                              GL | ES1,       2003 },
>     { "GL_OES_rgb8_rgba8",                          o(dummy_true),                                   ES1 | ES2, 2005 },
> +   { "GL_OES_shader_image_atomic",                 o(OES_shader_image_atomic),                      ES3,       2015 },

I think we indent these the GL, ES1, ES2/3 macros into separate
columns so that you can easily scan extensions per-API.


More information about the mesa-dev mailing list