Skip to content

Commit

Permalink
NEON buildfix. Inlining caused an error message that never would have…
Browse files Browse the repository at this point in the history
… any consequence.
  • Loading branch information
hrydgard committed May 3, 2021
1 parent d626bc1 commit dc5059f
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3577,9 +3577,13 @@ PX_FORCE_INLINE Vec4V V4SplatElement(Vec4V a)
return vdupq_lane_f32(vget_low_f32(a), 1);
}
#else
if(index < 2)
if(index == 0)
{
return vdupq_lane_f32(vget_low_f32(a), 0);
}
else if(index == 1)
{
return vdupq_lane_f32(vget_low_f32(a), index);
return vdupq_lane_f32(vget_low_f32(a), 1);
}
#endif
else if(index == 2)
Expand Down

0 comments on commit dc5059f

Please sign in to comment.