[Mesa-dev] [PATCH v4 (part2) 55/59] mesa: enable ARB_shader_storage_buffer_object extension for GLES 3.1
Tapani Pälli
tapani.palli at intel.com
Wed Aug 5 21:47:53 PDT 2015
Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
On 08/05/2015 11:30 AM, Iago Toral Quiroga wrote:
> From: Samuel Iglesias Gonsalvez <siglesias at igalia.com>
>
> Signed-off-by: Samuel Iglesias Gonsalvez <siglesias at igalia.com>
> ---
> src/glsl/glsl_parser_extras.cpp | 1 +
> src/glsl/glsl_parser_extras.h | 2 +-
> 2 files changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/src/glsl/glsl_parser_extras.cpp b/src/glsl/glsl_parser_extras.cpp
> index 46896d7..53c7d50 100644
> --- a/src/glsl/glsl_parser_extras.cpp
> +++ b/src/glsl/glsl_parser_extras.cpp
> @@ -603,6 +603,7 @@ static const _mesa_glsl_extension _mesa_glsl_supported_extensions[] = {
> EXT(ARB_shader_stencil_export, true, false, ARB_shader_stencil_export),
> EXT(ARB_shader_storage_buffer_object, true, false, ARB_shader_storage_buffer_object),
> EXT(ARB_shader_subroutine, true, false, ARB_shader_subroutine),
> + EXT(ARB_shader_storage_buffer_object, true, true, ARB_shader_storage_buffer_object),
> EXT(ARB_shader_texture_lod, true, false, ARB_shader_texture_lod),
> EXT(ARB_shading_language_420pack, true, false, ARB_shading_language_420pack),
> EXT(ARB_shading_language_packing, true, false, ARB_shading_language_packing),
> diff --git a/src/glsl/glsl_parser_extras.h b/src/glsl/glsl_parser_extras.h
> index eb325f0..05b6a27 100644
> --- a/src/glsl/glsl_parser_extras.h
> +++ b/src/glsl/glsl_parser_extras.h
> @@ -217,7 +217,7 @@ struct _mesa_glsl_parse_state {
>
> bool has_shader_storage_buffer_objects() const
> {
> - return ARB_shader_storage_buffer_object_enable || is_version(430, 0);
> + return ARB_shader_storage_buffer_object_enable || is_version(430, 310);
> }
>
> bool has_separate_shader_objects() const
More information about the mesa-dev
mailing list