summaryrefslogtreecommitdiff
path: root/community/blender/no-sse2.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/blender/no-sse2.patch')
-rw-r--r--community/blender/no-sse2.patch9
1 files changed, 4 insertions, 5 deletions
diff --git a/community/blender/no-sse2.patch b/community/blender/no-sse2.patch
index 082a566c..88620e02 100644
--- a/community/blender/no-sse2.patch
+++ b/community/blender/no-sse2.patch
@@ -1,13 +1,12 @@
diff -rauN blender-vanilla/intern/cycles/bvh/bvh_embree.cpp blender-no-sse2-patch/intern/cycles/bvh/bvh_embree.cpp
---- blender-vanilla/intern/cycles/bvh/bvh_embree.cpp 2021-04-30 11:51:03.234550251 +0200
-+++ blender-no-sse2-patch/intern/cycles/bvh/bvh_embree.cpp 2021-04-30 11:52:15.691582206 +0200
-@@ -306,8 +306,10 @@
+--- blender-vanilla/intern/cycles/bvh/bvh_embree.cpp 2021-07-05 17:31:59.689914965 +0200
++++ blender-no-sse2-patch/intern/cycles/bvh/bvh_embree.cpp 2021-07-05 17:33:10.596795518 +0200
+@@ -304,7 +304,9 @@
rtc_device(NULL),
build_quality(RTC_BUILD_QUALITY_REFIT)
{
+#if defined(__x86_64__) || defined(_M_X64)
- _MM_SET_FLUSH_ZERO_MODE(_MM_FLUSH_ZERO_ON);
- _MM_SET_DENORMALS_ZERO_MODE(_MM_DENORMALS_ZERO_ON);
+ SIMD_SET_FLUSH_TO_ZERO;
+#endif
}