ac/nir: add support for nir_intrinsic_shared_atomic_fadd
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 21 Jul 2020 08:49:36 +0000 (10:49 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 22 Jul 2020 08:20:53 +0000 (10:20 +0200)
commitb8517e5ef9b935adc15ff441bc697805243730c9
treedb58f40587def63bc0501a1db27cdc61c9c36698
parent7615f2d6900f44030a4b2cd6504a0bae79642c59
ac/nir: add support for nir_intrinsic_shared_atomic_fadd

Only LLVM 10+ has support.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6000>
src/amd/llvm/ac_nir_to_llvm.c