[Bf-blender-cvs] [be182d9] master: Code cleanup.

Thomas Dinges noreply at git.blender.org
Fri Jun 13 22:26:37 CEST 2014


Commit: be182d97047be4608f5d0d42f40dc95719ea3409
Author: Thomas Dinges
Date:   Fri Jun 13 22:26:01 2014 +0200
https://developer.blender.org/rBbe182d97047be4608f5d0d42f40dc95719ea3409

Code cleanup.

===================================================================

M	intern/cycles/util/util_math.h

===================================================================

diff --git a/intern/cycles/util/util_math.h b/intern/cycles/util/util_math.h
index ded7576..fc68275 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)




More information about the Bf-blender-cvs mailing list