diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-09-23 15:07:19 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-09-23 15:07:19 +0300 |
commit | c0480bc972534adcb29ffa63ecdd6be84bd66188 (patch) | |
tree | 757fa6e94cb5880126c5ee8bc29c1d0c28991578 /intern/cycles | |
parent | b460b8fb4a3fe11e6accecdd2d1f6e32d208a09f (diff) |
Cycles: Fix compilation error of OpenCL megakernel on Apple
Diffstat (limited to 'intern/cycles')
-rw-r--r-- | intern/cycles/kernel/kernel_shadow.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/cycles/kernel/kernel_shadow.h b/intern/cycles/kernel/kernel_shadow.h index 065f9b184e2..8a0da6c3b13 100644 --- a/intern/cycles/kernel/kernel_shadow.h +++ b/intern/cycles/kernel/kernel_shadow.h @@ -540,6 +540,7 @@ ccl_device_inline bool shadow_blocked(KernelGlobals *kg, # else /* __SHADOW_RECORD_ALL__ */ /* Fallback to a slowest version which works on all devices. */ return shadow_blocked_transparent_stepped(kg, + sd, shadow_sd, state, visibility, |