ac/nir: split 8-bit load/store to global memory on GFX6
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 29 Jan 2020 13:37:49 +0000 (14:37 +0100)
committerMarge Bot <eric+marge@anholt.net>
Fri, 3 Apr 2020 08:01:28 +0000 (08:01 +0000)
commit433f3380eb2ba97363ec8f47bc7d29904a4d355e
tree56cd966a1da9d90074a390236ff3a8b4f9e16d60
parentc953292630985cdd0d295f64e880610710bbf50d
ac/nir: split 8-bit load/store to global memory on GFX6

Due to possible alignment issues, make sure to split loads/stores
of 8-bit vectors.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4339>
src/amd/llvm/ac_nir_to_llvm.c