From 16d4c49c464ba4c56d96120003456e92688432f1 Mon Sep 17 00:00:00 2001 From: Daniel Genrich Date: Sun, 29 Apr 2012 12:20:06 +0000 Subject: Fix Cycles to compile again on AMD OpenCL devices. --- intern/cycles/util/util_math.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'intern') 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); -- cgit v1.2.3