aco: implement nir_intrinsic_load_global on GFX6
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 17 Jan 2020 14:14:41 +0000 (15:14 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 23 Jan 2020 13:40:27 +0000 (14:40 +0100)
commit22d8822683139a815603a969a54c382ec3378d9e
tree3217f9b893b343eeedba7671130ad8ee56bb2e66
parentd6af7571c22816a0724737711941589e4cbe248a
aco: implement nir_intrinsic_load_global 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