Cycles: Fix floor intrinsic for ARM Neon
This commit is contained in:
parent
25e84334f7
commit
6ad04a031c
Notes:
blender-bot
2023-02-14 09:48:23 +01:00
Referenced by issue #100749, Blender LTS: Maintenance Task 3.3
|
@ -523,7 +523,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