softpipe: Implement ATOMFADD and enable cap TGSI_ATOMFADD

Graphics / Mesa 3D Graphics Library / Mesa - Gert Wollny [collabora.com] - 2 April 2019 09:58 EDT

This enables the following piglits with PASS: nv_shader_atomic_float/execution/ shared-atomicadd-float shared-atomicexchange-float ssbo-atomicadd-float ssbo-atomicexchange-float

v2: Minimize the patch by using type punning (Eric Anholt)

33d9b9436c3 softpipe: Implement ATOMFADD and enable cap TGSI_ATOMFADD
src/gallium/drivers/softpipe/sp_buffer.c | 27 +++++++++++++++++----------
src/gallium/drivers/softpipe/sp_screen.c | 1 +
2 files changed, 18 insertions(+), 10 deletions(-)

Upstream: cgit.freedesktop.org


  • Share