diff options
author | Marek Olšák <[email protected]> | 2018-01-09 15:48:52 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-01-17 20:17:59 +0100 |
commit | e411d2572b01a919883ca513413fc026f2ebbfb1 (patch) | |
tree | 902a415f064834217ffccc2256401a7cd2dba4f5 /src/mesa | |
parent | 3778a0a5330a109c4419d1817bece714f4e39ae8 (diff) |
st/mesa: expose ARB_sync unconditionally
All drivers support it.
Reviewed-by: Roland Scheidegger <[email protected]>
Tested-by: Dieter Nützel <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/state_tracker/st_extensions.c | 7 |
1 files changed, 2 insertions, 5 deletions
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. */ |