Cycles: Fix compilation error of OpenCL megakernel on Apple
authorSergey Sharybin <sergey.vfx@gmail.com>
Sat, 23 Sep 2017 12:07:19 +0000 (17:07 +0500)
committerSergey Sharybin <sergey.vfx@gmail.com>
Sat, 23 Sep 2017 12:07:19 +0000 (17:07 +0500)
intern/cycles/kernel/kernel_shadow.h

index 065f9b184e2a50e0dff75e5caa4272c6f9f067b1..8a0da6c3b13ba6ee6207fe62afc462e0325b388c 100644 (file)
@@ -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,