Cycles: Fix floor intrinsic for ARM Neon
This commit is contained in:
parent
1492f566c8
commit
5ff62df238
Notes:
blender-bot
2023-02-13 13:22:23 +01:00
Referenced by issue #100749, Blender LTS: Maintenance Task 3.3
|
@ -521,7 +521,7 @@ __forceinline const ssef round_zero(const ssef &a)
|
|||
__forceinline const ssef floor(const ssef &a)
|
||||
{
|
||||
# ifdef __KERNEL_NEON__
|
||||
return vrndnq_f32(a);
|
||||
return vrndmq_f32(a);
|
||||
# else
|
||||
return _mm_round_ps(a, _MM_FROUND_TO_NEG_INF);
|
||||
# endif
|
||||
|
|
Loading…
Reference in New Issue