[Bf-blender-cvs] [5ff62df238f] blender-v3.3-release: Cycles: Fix floor intrinsic for ARM Neon
Lukas Stockner
noreply at git.blender.org
Wed Oct 26 12:00:19 CEST 2022
Commit: 5ff62df238ff5558f7c45f848749e1839d18d99a
Author: Lukas Stockner
Date: Mon Oct 17 00:56:19 2022 +0200
Branches: blender-v3.3-release
https://developer.blender.org/rB5ff62df238ff5558f7c45f848749e1839d18d99a
Cycles: Fix floor intrinsic for ARM Neon
===================================================================
M intern/cycles/util/ssef.h
===================================================================
diff --git a/intern/cycles/util/ssef.h b/intern/cycles/util/ssef.h
index a2fff94303e..ad435e65b01 100644
--- a/intern/cycles/util/ssef.h
+++ b/intern/cycles/util/ssef.h
@@ -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
More information about the Bf-blender-cvs
mailing list