diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-09-05 17:52:45 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-09-05 17:52:45 +0300 |
commit | 750e38a5264067b178fefc8dacfcbe62f766e3cc (patch) | |
tree | 90e7ccb0c772e759a10799576f22f61647371d00 /intern/cycles | |
parent | 704f6a51845e03132c4618f1b440b12f8c2ce117 (diff) |
Cycles: Fix compilation error with CUDA after recent changes
Diffstat (limited to 'intern/cycles')
-rw-r--r-- | intern/cycles/kernel/kernel_shadow.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/intern/cycles/kernel/kernel_shadow.h b/intern/cycles/kernel/kernel_shadow.h index b409aca7674..22e085e94da 100644 --- a/intern/cycles/kernel/kernel_shadow.h +++ b/intern/cycles/kernel/kernel_shadow.h @@ -338,7 +338,8 @@ ccl_device bool shadow_blocked_transparent_stepped_loop( PathState *ps = shadow_blocked_volume_path_state(kg, &volume_state, state, - sd); + sd, + ray); # endif for(;;) { if(bounce >= kernel_data.integrator.transparent_max_bounce) { @@ -391,7 +392,8 @@ ccl_device bool shadow_blocked_transparent_stepped_loop( PathState *ps = shadow_blocked_volume_path_state(kg, &volume_state, state, - sd); + sd, + ray); kernel_volume_shadow(kg, shadow_sd, ps, ray, shadow); } # endif |