Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Stockner <lukas.stockner@freenet.de>2022-10-17 01:56:19 +0300
committerLukas Stockner <lukas.stockner@freenet.de>2022-10-17 02:13:43 +0300
commit6ad04a031c0f4375769a9a6a47942905be544992 (patch)
treec6bcd68980858af478e824ac9f71efcc65a0d5af
parent25e84334f7d66b36ff962688c4c5b5818bd5db25 (diff)
Cycles: Fix floor intrinsic for ARM Neon
-rw-r--r--intern/cycles/util/ssef.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/util/ssef.h b/intern/cycles/util/ssef.h
index 7f9e332a997..1e2bfa90354 100644
--- a/intern/cycles/util/ssef.h
+++ b/intern/cycles/util/ssef.h
@@ -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