Code cleanup.

This commit is contained in:
Thomas Dinges
2014-06-13 22:26:01 +02:00
parent 866c7fb6e6
commit be182d9704

View File

@@ -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)