ac,radeonsi: fix compilations issues with LLVM 11
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 27 Apr 2020 09:01:24 +0000 (11:01 +0200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 27 Apr 2020 17:13:36 +0000 (17:13 +0000)
commit42b1696ef627a5bfee29911a780fa0a4dbf04610
tree8c4ccbaae46de1099d5975d2a077922bf5551bfc
parent52aa730d07618513d6c055618069b2f4680974cc
ac,radeonsi: fix compilations issues with LLVM 11

Latest LLVM replaced LLVMVectorTypeKind.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/2826
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4755>
src/amd/llvm/ac_llvm_build.c
src/amd/llvm/ac_llvm_util.h
src/amd/llvm/ac_nir_to_llvm.c
src/amd/vulkan/radv_nir_to_llvm.c
src/gallium/drivers/radeonsi/si_shader_llvm.c