Cycles: Fix floor intrinsic for ARM Neon

This commit is contained in:
Lukas Stockner 2022-10-17 00:56:19 +02:00 committed by Philipp Oeser
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
1 changed files with 1 additions and 1 deletions

View File

@ -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