swr/rasterizer/core/format_types.h:1183: undefined reference to `_mm256_cvtps_ph'
Build error with ICC.
FAILED: src/gallium/drivers/swr/libswrAVX2.so.0.0.0
[...]
ld: src/gallium/drivers/swr/3eb908b@@swrAVX2@sha/rasterizer_memory_StoreTile_Linear2.cpp.o: in function `TypeTraits<(SWR_TYPE)6, 16u>::pack(SIMDImpl::SIMD512Impl::Float const&)':
src/gallium/drivers/swr/rasterizer/core/format_types.h:1182: undefined reference to `_mm256_cvtps_ph'
ld: src/gallium/drivers/swr/rasterizer/core/format_types.h:1183: undefined reference to `_mm256_cvtps_ph'
3740ffb59c89d8d879b1e0c1aed32c389dd82a35 is the first bad commit
commit 3740ffb59c89d8d879b1e0c1aed32c389dd82a35
Author: Dylan Baker <dylan@pnwbakers.com>
Date: Tue May 22 10:54:12 2018 -0700
meson: add switches for SWR with MSVC
This makes two changes for SWR,
The first is that it reorders the arguments to try to put the ICL ones
first. This is required to support older versions of meson that don't
add enough "error in this case" switches to ICL, which causes it to
happy accept -mavx (for example) even though it doesn't support them,
resulting in compilation failures.
The second is to fix the names of the libraries, setting the soversion
to '' will result in <lib>.dll, instead of <lib>-0.dll. Since these are
not versioned dll's, but implement an internal API we should communicate
that. It's also what scons does.
Acked-by: Kristian H. Kristensen <hoegsberg@google.com>
:040000 040000 544f5d1d5c962d15aa398147d84cf9b778ed0f0d c373670a3619a7fd4fddfa455375431d66b23703 M src
bisect run success