[Mesa-dev] [PATCH 2/2] st/mesa: enable ARB_ES3_2_compatibility when enough available

Ilia Mirkin imirkin at alum.mit.edu
Fri Sep 23 00:52:35 UTC 2016


ping

On Tue, Sep 13, 2016 at 8:54 PM, Ilia Mirkin <imirkin at alum.mit.edu> wrote:
> Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
> ---
>  src/mesa/state_tracker/st_extensions.c | 20 ++++++++++++++++++++
>  1 file changed, 20 insertions(+)
>
> diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c
> index 4d54928..55019d7 100644
> --- a/src/mesa/state_tracker/st_extensions.c
> +++ b/src/mesa/state_tracker/st_extensions.c
> @@ -1246,4 +1246,24 @@ void st_init_extensions(struct pipe_screen *screen,
>        extensions->OES_texture_buffer &&
>        extensions->OES_texture_cube_map_array &&
>        extensions->EXT_texture_sRGB_decode;
> +
> +   /* Same deal as for ARB_ES3_1_compatibility - this has to be computed
> +    * before overall versions are selected. Also it's actually a subset of ES
> +    * 3.2, since it doesn't require ASTC or advanced blending.
> +    */
> +   extensions->ARB_ES3_2_compatibility =
> +      extensions->ARB_ES3_1_compatibility &&
> +      extensions->KHR_robustness &&
> +      extensions->ARB_copy_image &&
> +      extensions->ARB_draw_buffers_blend &&
> +      extensions->ARB_draw_elements_base_vertex &&
> +      extensions->OES_geometry_shader &&
> +      extensions->ARB_gpu_shader5 &&
> +      extensions->ARB_sample_shading &&
> +      extensions->ARB_tessellation_shader &&
> +      extensions->ARB_texture_border_clamp &&
> +      extensions->OES_texture_buffer &&
> +      extensions->ARB_texture_cube_map_array &&
> +      extensions->ARB_texture_stencil8 &&
> +      extensions->ARB_texture_multisample;
>  }
> --
> 2.7.3
>


More information about the mesa-dev mailing list