gallium/gallivm: fix compilation issues with llvm 11
authorJan Zielinski <jan.zielinski@intel.com>
Sat, 25 Apr 2020 17:27:07 +0000 (19:27 +0200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 27 Apr 2020 16:53:44 +0000 (16:53 +0000)
commite2a7436dd10df70ba14d18ab7cf8ad538f80e653
tree9b666f54aaa65bd3c6f23aa2c867a487dd5548e6
parent6943eda5c928a323019d48a6d2f401c74a88fb7d
gallium/gallivm: fix compilation issues with llvm 11

Top of the trunk LLVM removes old vector type
and introduces two new ones - one for fixed-width
and one for scalable vectors. This commit fixes
compilation issues by switching from LLVMVectorTypeKind
to LLVMFixedVectorTypeKind for new LLVM.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4748>
src/gallium/auxiliary/gallivm/lp_bld_conv.c
src/gallium/auxiliary/gallivm/lp_bld_format_float.c
src/gallium/auxiliary/gallivm/lp_bld_intr.c
src/gallium/auxiliary/gallivm/lp_bld_pack.c
src/gallium/auxiliary/gallivm/lp_bld_printf.c
src/gallium/auxiliary/gallivm/lp_bld_swizzle.c
src/gallium/auxiliary/gallivm/lp_bld_type.c
src/gallium/auxiliary/gallivm/lp_bld_type.h