diff options
author | Daniel Genrich <daniel.genrich@gmx.net> | 2012-04-29 16:20:06 +0400 |
---|---|---|
committer | Daniel Genrich <daniel.genrich@gmx.net> | 2012-04-29 16:20:06 +0400 |
commit | 16d4c49c464ba4c56d96120003456e92688432f1 (patch) | |
tree | f6c7588e1800d29dae46e837ef83bac94195b677 | |
parent | 41a5e731a2e13a18110f3f1919c340425f32f452 (diff) |
Fix Cycles to compile again on AMD OpenCL devices.
-rw-r--r-- | intern/cycles/util/util_math.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/util/util_math.h b/intern/cycles/util/util_math.h index 33e351c74e9..53c1302b4a1 100644 --- a/intern/cycles/util/util_math.h +++ b/intern/cycles/util/util_math.h @@ -541,7 +541,7 @@ __device_inline bool is_zero(const float3 a) #endif } -__device_inline float reduce_add(const float3& a) +__device_inline float reduce_add(const float3 a) { #ifdef __KERNEL_SSE__ return (a.x + a.y + a.z); |