forked from bartvdbraak/blender
Fix Cycles to compile again on AMD OpenCL devices.
This commit is contained in:
parent
41a5e731a2
commit
16d4c49c46
@ -541,7 +541,7 @@ __device_inline bool is_zero(const float3 a)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
__device_inline float reduce_add(const float3& a)
|
__device_inline float reduce_add(const float3 a)
|
||||||
{
|
{
|
||||||
#ifdef __KERNEL_SSE__
|
#ifdef __KERNEL_SSE__
|
||||||
return (a.x + a.y + a.z);
|
return (a.x + a.y + a.z);
|
||||||
|
Loading…
Reference in New Issue
Block a user