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
path: root/intern
diff options
context:
space:
mode:
authorThomas Dinges <blender@dingto.org>2014-06-14 00:26:01 +0400
committerThomas Dinges <blender@dingto.org>2014-06-14 00:26:20 +0400
commitbe182d97047be4608f5d0d42f40dc95719ea3409 (patch)
treef251000dd4257c1ee2190c74da63e021b1058079 /intern
parent866c7fb6e63d128fa4800e28e0a091f874112344 (diff)
Code cleanup.
Diffstat (limited to 'intern')
-rw-r--r--intern/cycles/util/util_math.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/intern/cycles/util/util_math.h b/intern/cycles/util/util_math.h
index ded75762cd2..fc6827573f8 100644
--- a/intern/cycles/util/util_math.h
+++ b/intern/cycles/util/util_math.h
@@ -622,11 +622,7 @@ ccl_device_inline bool is_zero(const float3 a)
ccl_device_inline float reduce_add(const float3 a)
{
-#ifdef __KERNEL_SSE__
- return (a.x + a.y + a.z);
-#else
return (a.x + a.y + a.z);
-#endif
}
ccl_device_inline float average(const float3 a)