From be182d97047be4608f5d0d42f40dc95719ea3409 Mon Sep 17 00:00:00 2001 From: Thomas Dinges Date: Fri, 13 Jun 2014 22:26:01 +0200 Subject: Code cleanup. --- intern/cycles/util/util_math.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'intern') 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) -- cgit v1.2.3