From: Ilia Mirkin Date: Wed, 5 Dec 2018 05:22:40 +0000 (-0500) Subject: st/mesa: expose GL_NV_shader_atomic_float when ATOMFADD is supported X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9867f2a1f7670ec518f39d196753b7eda9f5f93c;p=mesa.git st/mesa: expose GL_NV_shader_atomic_float when ATOMFADD is supported Signed-off-by: Ilia Mirkin Reviewed-by: Marek Olšák --- diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c index 8d936e4628f..931a2643bfa 100644 --- a/src/mesa/state_tracker/st_extensions.c +++ b/src/mesa/state_tracker/st_extensions.c @@ -761,6 +761,7 @@ void st_init_extensions(struct pipe_screen *screen, { o(NV_conditional_render), PIPE_CAP_CONDITIONAL_RENDER }, { o(NV_fill_rectangle), PIPE_CAP_POLYGON_MODE_FILL_RECTANGLE }, { o(NV_primitive_restart), PIPE_CAP_PRIMITIVE_RESTART }, + { o(NV_shader_atomic_float), PIPE_CAP_TGSI_ATOMFADD }, { o(NV_texture_barrier), PIPE_CAP_TEXTURE_BARRIER }, { o(NVX_gpu_memory_info), PIPE_CAP_QUERY_MEMORY_INFO }, /* GL_NV_point_sprite is not supported by gallium because we don't