gallivm: Use unified atomics
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Mon, 8 May 2023 23:38:16 +0000 (19:38 -0400)
committerMarge Bot <emma+marge@anholt.net>
Fri, 12 May 2023 20:39:46 +0000 (20:39 +0000)
commitbd0a2b160848fc9810362eba9768fcf79845315f
treec9fcde2ef74805f103b17c5f08b2d37c42b44397
parent3c823351c0f3fdca664c4e2b436912acf5d33b72
gallivm: Use unified atomics

This is a huge win because gallivm duplicated the translations in a zillion
places.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22914>
src/gallium/auxiliary/gallivm/lp_bld_nir.c
src/gallium/auxiliary/gallivm/lp_bld_nir.h
src/gallium/auxiliary/gallivm/lp_bld_nir_soa.c