[Bf-blender-cvs] [18a353dd242] master: Fix T52368: Cycles OSL trace() failing on Windows 32 bit.

Brecht Van Lommel noreply at git.blender.org
Wed Sep 20 20:00:45 CEST 2017


Commit: 18a353dd242225a9a7a6e101b9c128f94d03d770
Author: Brecht Van Lommel
Date:   Wed Sep 20 19:36:24 2017 +0200
Branches: master
https://developer.blender.org/rB18a353dd242225a9a7a6e101b9c128f94d03d770

Fix T52368: Cycles OSL trace() failing on Windows 32 bit.

===================================================================

M	intern/cycles/util/util_optimization.h

===================================================================

diff --git a/intern/cycles/util/util_optimization.h b/intern/cycles/util/util_optimization.h
index 0382c0811dd..3c5785c4807 100644
--- a/intern/cycles/util/util_optimization.h
+++ b/intern/cycles/util/util_optimization.h
@@ -25,6 +25,9 @@
 
 #if defined(i386) || defined(_M_IX86)
 
+/* We require minimum SSE2 support on x86, so auto enable. */
+#  define __KERNEL_SSE2__
+
 #  ifdef WITH_KERNEL_SSE2
 #    define WITH_CYCLES_OPTIMIZED_KERNEL_SSE2
 #  endif



More information about the Bf-blender-cvs mailing list