Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2014-06-16 21:34:50 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2014-06-16 21:35:44 +0400
commitb56151ff13423d910ce791b7efdb3ff585a2771c (patch)
tree1ace845a644297d2eefe2c87fe0d8d0ba4388e78
parentf2a0062042edfafab2c0d9472f2669521ff70930 (diff)
Cycles: Fix compilation error on platforms without SSE2
-rw-r--r--intern/cycles/util/util_simd.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/intern/cycles/util/util_simd.cpp b/intern/cycles/util/util_simd.cpp
index 8c34f6600d3..8bc1c5d16d8 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