ac,radv: do not emit vec3 for raw load/store on SI
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 3 Jun 2019 13:09:38 +0000 (15:09 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 4 Jun 2019 06:47:26 +0000 (08:47 +0200)
commit33f4e04d5a7396886f0b2ea6463d295ea038f8c5
treebe490929d27e883e99b41dea40f46b9a9664ff0c
parent3016756398c988e965ed189cfd99dc94ddb16626
ac,radv: do not emit vec3 for raw load/store on SI

It's unsupported, only load/store format with vec3 are supported.

Fixes: 6970a9a6ca9 ("ac,radv: remove the vec3 restriction with LLVM 9+")"
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/amd/common/ac_llvm_build.c
src/amd/common/ac_llvm_util.h
src/amd/common/ac_nir_to_llvm.c
src/amd/vulkan/radv_nir_to_llvm.c