summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorGeorge Kyriazis <[email protected]>2018-02-13 10:41:48 -0600
committerGeorge Kyriazis <[email protected]>2018-02-16 10:54:02 -0600
commitf1fbeb1a530f46402b201756b3e76a9b4ef0739b (patch)
tree337cfcbca89cb0720042e49e8eef7b9671e8388c /src/gallium/drivers
parent7dd793d10c8e6bc94db6a7325430503b3372862d (diff)
swr/rast: blend_epi32() should return Integer, not Float
fix gcc8 compiler error for KNL. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105029 Reviewed-by: Bruce Cherniak <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/swr/rasterizer/common/simdlib_512_avx512.inl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/swr/rasterizer/common/simdlib_512_avx512.inl b/src/gallium/drivers/swr/rasterizer/common/simdlib_512_avx512.inl
index 8de62f2a7e4..f3a58f9e1cb 100644
--- a/src/gallium/drivers/swr/rasterizer/common/simdlib_512_avx512.inl
+++ b/src/gallium/drivers/swr/rasterizer/common/simdlib_512_avx512.inl
@@ -366,7 +366,7 @@ static SIMDINLINE Float blend_ps(Float a, Float b) // return ImmT ? b : a (floa
}
template <int ImmT>
-static SIMDINLINE Float blend_epi32(Integer a, Integer b) // return ImmT ? b : a (int32)
+static SIMDINLINE Integer blend_epi32(Integer a, Integer b) // return ImmT ? b : a (int32)
{
return _mm512_mask_blend_epi32(__mmask16(ImmT), a, b);
}