index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2021-04-30 13:00:51 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2021-04-30 13:00:51 +0200 |
commit | b4412ca73d17eacf2ba16bb8693013926424c556 (patch) | |
tree | 2cb5e62426800ef7d07edd32da31194c10d19d76 /community/blender/no-sse2.patch | |
parent | bbdc2399d657583cd380e2a43cf274618abe89d7 (diff) |
-rw-r--r-- | community/blender/no-sse2.patch | 14 |
diff --git a/community/blender/no-sse2.patch b/community/blender/no-sse2.patch new file mode 100644 index 00000000..082a566c --- /dev/null +++ b/community/blender/no-sse2.patch @@ -0,0 +1,14 @@ +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 @@ + 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); ++#endif + } + + BVHEmbree::~BVHEmbree() |