aco: use emit_load helper for VMEM/SMEM loads
authorRhys Perry <pendingchaos02@gmail.com>
Wed, 15 Apr 2020 14:39:44 +0000 (15:39 +0100)
committerMarge Bot <eric+marge@anholt.net>
Fri, 24 Apr 2020 18:52:54 +0000 (18:52 +0000)
commit211a9f2057321e6a3500d9b7873085621604e336
tree7306a3c64695b2ae7a97dd682f62ea061b587b5d
parent57e6886f981ca629a863544df253b9ecb3604eec
aco: use emit_load helper for VMEM/SMEM loads

Also implements 8/16-bit loads for scratch/global.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4639>
src/amd/compiler/aco_instruction_selection.cpp