[Bf-blender-cvs] [b56151f] master: Cycles: Fix compilation error on platforms without SSE2
Sergey Sharybin
noreply at git.blender.org
Mon Jun 16 19:36:50 CEST 2014
Commit: b56151ff13423d910ce791b7efdb3ff585a2771c
Author: Sergey Sharybin
Date: Mon Jun 16 23:34:50 2014 +0600
https://developer.blender.org/rBb56151ff13423d910ce791b7efdb3ff585a2771c
Cycles: Fix compilation error on platforms without SSE2
===================================================================
M intern/cycles/util/util_simd.cpp
===================================================================
diff --git a/intern/cycles/util/util_simd.cpp b/intern/cycles/util/util_simd.cpp
index 8c34f66..8bc1c5d 100644
--- a/intern/cycles/util/util_simd.cpp
+++ b/intern/cycles/util/util_simd.cpp
@@ -19,6 +19,8 @@
CCL_NAMESPACE_BEGIN
+#ifdef WITH_KERNEL_SSE2
+
const __m128 _mm_lookupmask_ps[16] = {
_mm_castsi128_ps(_mm_set_epi32( 0, 0, 0, 0)),
_mm_castsi128_ps(_mm_set_epi32( 0, 0, 0,-1)),
@@ -38,5 +40,7 @@ const __m128 _mm_lookupmask_ps[16] = {
_mm_castsi128_ps(_mm_set_epi32(-1,-1,-1,-1))
};
+#endif // WITH_KERNEL_SSE2
+
CCL_NAMESPACE_END
More information about the Bf-blender-cvs
mailing list