Skip to content
Snippets Groups Projects
Commit f1fbeb1a authored by George Kyriazis's avatar George Kyriazis
Browse files

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: default avatarBruce Cherniak <bruce.cherniak@intel.com>
parent 7dd793d1
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment