swr: Fix building with LLVM12
authorjzielins <jan.zielinski@intel.com>
Thu, 10 Dec 2020 16:55:35 +0000 (17:55 +0100)
committerjzielins <jan.zielinski@intel.com>
Wed, 16 Dec 2020 09:10:53 +0000 (10:10 +0100)
commit87d7568d69199d1fa16858b45521764d31815aa9
tree767906fa3101ffd027984d456eb2168eb74696e6
parent27097ca6b52f3b84a8fd8f7427487440980fae29
swr: Fix building with LLVM12

Updates SWR code to match recent changes
in StructType and VectorType APIs

Fixes: #3917
Reviewed-by: Krzysztof Raszkowski <krzysztof.raszkowski@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8041>
src/gallium/drivers/swr/rasterizer/codegen/templates/gen_builder.hpp
src/gallium/drivers/swr/rasterizer/codegen/templates/gen_llvm.hpp
src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp
src/gallium/drivers/swr/rasterizer/jitter/builder_misc.cpp
src/gallium/drivers/swr/rasterizer/jitter/functionpasses/lower_x86.cpp