aco: implement nir_intrinsic_global_atomic_* on GFX6
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 17 Jan 2020 15:11:55 +0000 (16:11 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 23 Jan 2020 13:40:30 +0000 (14:40 +0100)
commit36e7a5f5b906eea6d1c222336492d16bcecc58f7
tree47e6d0678e55ccc460ce593a150f6702cb00e2dc
parent22d8822683139a815603a969a54c382ec3378d9e
aco: implement nir_intrinsic_global_atomic_* on GFX6

GFX6 doesn't have FLAT instructions, use MUBUF instructions instead.

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/3477>
src/amd/compiler/aco_instruction_selection.cpp