Mesa 20.1.0-rc3 build error on Windows using Meson
So far I have built mesa using scons. Now I tried to build Mesa 20.0.7 on Windows/Visual Studio 2019 using Meson. However, it always failed finding LLVM components (while llvm-config was found just fine). Then I went back to the last 19er version. But that didn't work either.
Finally I switched to Mesa 20.1.0-rc3 and indeed, it almost works. The only problem was the usage of THAR
in src/gallium/drivers/swr/rasterizer/codegen/templates/gen_ar_eventhandlerfile.hpp
.
And this second patch just fixes a small and unrelated compiler warning.