diff options
author | Thomas Dinges <blender@dingto.org> | 2014-06-14 00:26:01 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2014-06-14 00:26:20 +0400 |
commit | be182d97047be4608f5d0d42f40dc95719ea3409 (patch) | |
tree | f251000dd4257c1ee2190c74da63e021b1058079 /intern | |
parent | 866c7fb6e63d128fa4800e28e0a091f874112344 (diff) |
Code cleanup.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/util/util_math.h | 4 |
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) |