diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-06-16 21:34:50 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-06-16 21:35:44 +0400 |
commit | b56151ff13423d910ce791b7efdb3ff585a2771c (patch) | |
tree | 1ace845a644297d2eefe2c87fe0d8d0ba4388e78 /intern/cycles | |
parent | f2a0062042edfafab2c0d9472f2669521ff70930 (diff) |
Cycles: Fix compilation error on platforms without SSE2
Diffstat (limited to 'intern/cycles')
-rw-r--r-- | intern/cycles/util/util_simd.cpp | 4 |
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 |