mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 11:28:05 +02:00
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 <bruce.cherniak@intel.com>
This commit is contained in:
parent
7dd793d10c
commit
f1fbeb1a53
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue