diff options
Diffstat (limited to 'community/blender/no-sse2.patch')
-rw-r--r-- | community/blender/no-sse2.patch | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/community/blender/no-sse2.patch b/community/blender/no-sse2.patch index 88620e02..a32f7c64 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-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 - } +diff -rauN blender-vanilla/CMakeLists.txt blender-no-sse2-patch/CMakeLists.txt +--- blender-vanilla/CMakeLists.txt 2022-04-07 16:36:48.842414275 +0200 ++++ blender-no-sse2-patch/CMakeLists.txt 2022-04-07 16:37:12.012470531 +0200 +@@ -981,7 +981,7 @@ + # Test SIMD support, before platform includes to determine if sse2neon is needed. + if(WITH_CPU_SIMD) + set(COMPILER_SSE_FLAG) +- set(COMPILER_SSE2_FLAG) ++# set(COMPILER_SSE2_FLAG) - BVHEmbree::~BVHEmbree() + # Test Neon first since macOS Arm can compile and run x86-64 SSE binaries. + TEST_NEON_SUPPORT() |