summaryrefslogtreecommitdiff
path: root/community/blender/no-sse2.patch
blob: 88620e02fbda954690b55b3a1e6218e0b3695447 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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-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)
   SIMD_SET_FLUSH_TO_ZERO;
+#endif
 }
 
 BVHEmbree::~BVHEmbree()