From: Marek Olšák Date: Tue, 9 Jan 2018 14:48:52 +0000 (+0100) Subject: st/mesa: expose ARB_sync unconditionally X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e411d2572b01a919883ca513413fc026f2ebbfb1;p=mesa.git st/mesa: expose ARB_sync unconditionally All drivers support it. Reviewed-by: Roland Scheidegger Tested-by: Dieter Nützel --- diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c index 208a08323d3..51062f6d0d2 100644 --- a/src/mesa/state_tracker/st_extensions.c +++ b/src/mesa/state_tracker/st_extensions.c @@ -873,7 +873,8 @@ void st_init_extensions(struct pipe_screen *screen, extensions->ARB_internalformat_query = GL_TRUE; extensions->ARB_internalformat_query2 = GL_TRUE; extensions->ARB_map_buffer_range = GL_TRUE; - extensions->ARB_texture_border_clamp = GL_TRUE; /* XXX temp */ + extensions->ARB_sync = GL_TRUE; + extensions->ARB_texture_border_clamp = GL_TRUE; extensions->ARB_texture_cube_map = GL_TRUE; extensions->ARB_texture_env_combine = GL_TRUE; extensions->ARB_texture_env_crossbar = GL_TRUE; @@ -1021,10 +1022,6 @@ void st_init_extensions(struct pipe_screen *screen, extensions->OES_geometry_shader = GL_TRUE; } - if (screen->fence_finish) { - extensions->ARB_sync = GL_TRUE; - } - /* Needs PIPE_CAP_SAMPLE_SHADING + all the sample-related bits of * ARB_gpu_shader5. This enables all the per-sample shading ES extensions. */