gallium/swr: Fix compilation with LLVM 12
authorjzielins <jan.zielinski@intel.com>
Tue, 1 Sep 2020 14:53:12 +0000 (16:53 +0200)
committerjzielins <jan.zielinski@intel.com>
Wed, 2 Sep 2020 09:12:21 +0000 (11:12 +0200)
commit639605e5ba947bb947313a6584ef7fbb8619e9c2
tree325c9feb9c01b9d8f42336819b7e4c89a31c4678
parentabbfc5b8db7412fa2e6f8c1b66ff97b886c4ac70
gallium/swr: Fix compilation with LLVM 12

Update to reflect changes in VectorType and ElementCount APIs

Closes: #3457
Reviewed-by: Krzysztof Raszkowski <krzysztof.raszkowski@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6554>
src/gallium/drivers/swr/rasterizer/codegen/gen_llvm_ir_macros.py
src/gallium/drivers/swr/rasterizer/codegen/gen_llvm_types.py
src/gallium/drivers/swr/rasterizer/jitter/blend_jit.cpp
src/gallium/drivers/swr/rasterizer/jitter/builder.cpp
src/gallium/drivers/swr/rasterizer/jitter/builder_mem.cpp
src/gallium/drivers/swr/rasterizer/jitter/builder_misc.cpp
src/gallium/drivers/swr/rasterizer/jitter/fetch_jit.cpp
src/gallium/drivers/swr/rasterizer/jitter/functionpasses/lower_x86.cpp
src/gallium/drivers/swr/rasterizer/jitter/jit_pch.hpp
src/gallium/drivers/swr/rasterizer/jitter/streamout_jit.cpp
src/gallium/drivers/swr/swr_shader.cpp