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

Ilia Mirkin imirkin at alum.mit.edu
Mon Aug 17 09:56:32 PDT 2015


On Mon, Aug 17, 2015 at 12:46 PM, 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 },
>     { "GL_OES_single_precision",                    o(dummy_true),                                   ES1,       2003 },
>     { "GL_OES_standard_derivatives",                o(OES_standard_derivatives),                           ES2, 2005 },
>     { "GL_OES_stencil1",                            o(dummy_false),                     DISABLE,                2005 },
> diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
> index 9964fb4..b489f8c 100644
> --- a/src/mesa/main/mtypes.h
> +++ b/src/mesa/main/mtypes.h
> @@ -3970,6 +3970,7 @@ struct gl_extensions
>     GLboolean OES_draw_texture;
>     GLboolean OES_depth_texture_cube_map;
>     GLboolean OES_EGL_image_external;
> +   GLboolean OES_shader_image_atomic;

Does this add any functionality over ARB_shader_image_load_store? I
guess extension bools are cheap, but... seems unnecessary.

>     GLboolean OES_texture_float;
>     GLboolean OES_texture_float_linear;
>     GLboolean OES_texture_half_float;
> --
> 2.4.6
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list