Cycles: Fix compilation error with CUDA after recent changes
This commit is contained in:
@@ -338,7 +338,8 @@ ccl_device bool shadow_blocked_transparent_stepped_loop(
|
|||||||
PathState *ps = shadow_blocked_volume_path_state(kg,
|
PathState *ps = shadow_blocked_volume_path_state(kg,
|
||||||
&volume_state,
|
&volume_state,
|
||||||
state,
|
state,
|
||||||
sd);
|
sd,
|
||||||
|
ray);
|
||||||
# endif
|
# endif
|
||||||
for(;;) {
|
for(;;) {
|
||||||
if(bounce >= kernel_data.integrator.transparent_max_bounce) {
|
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,
|
PathState *ps = shadow_blocked_volume_path_state(kg,
|
||||||
&volume_state,
|
&volume_state,
|
||||||
state,
|
state,
|
||||||
sd);
|
sd,
|
||||||
|
ray);
|
||||||
kernel_volume_shadow(kg, shadow_sd, ps, ray, shadow);
|
kernel_volume_shadow(kg, shadow_sd, ps, ray, shadow);
|
||||||
}
|
}
|
||||||
# endif
|
# endif
|
||||||
|
|||||||
Reference in New Issue
Block a user