nir,ac/llvm: add nir_buffer_atomic_add_amd
authorQiang Yu <yuq825@gmail.com>
Thu, 11 Aug 2022 02:17:16 +0000 (10:17 +0800)
committerMarge Bot <emma+marge@anholt.net>
Fri, 2 Dec 2022 07:34:31 +0000 (07:34 +0000)
commitbb837bf6ef66c63474182ea7287939e995ed9901
treeb87d60d607f0cc4a9f4352ff8de97e4c16c7afcf
parent7cec2e7520c44414fbaa81f733bb85517637d3f2
nir,ac/llvm: add nir_buffer_atomic_add_amd

Used by radeonsi for lower nir_atomic_add_gen/xfb_prim_count_amd.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18010>
src/amd/llvm/ac_nir_to_llvm.c
src/compiler/nir/nir_divergence_analysis.c
src/compiler/nir/nir_intrinsics.py