Cycles: Cleanup, indentation
This commit is contained in:
@@ -38,7 +38,6 @@ ccl_device void kernel_indirect_subsurface(KernelGlobals *kg)
|
|||||||
1);
|
1);
|
||||||
|
|
||||||
#ifdef __SUBSURFACE__
|
#ifdef __SUBSURFACE__
|
||||||
|
|
||||||
if(ray_index == QUEUE_EMPTY_SLOT) {
|
if(ray_index == QUEUE_EMPTY_SLOT) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -57,17 +56,15 @@ ccl_device void kernel_indirect_subsurface(KernelGlobals *kg)
|
|||||||
*/
|
*/
|
||||||
if(ss_indirect->num_rays) {
|
if(ss_indirect->num_rays) {
|
||||||
kernel_path_subsurface_setup_indirect(kg,
|
kernel_path_subsurface_setup_indirect(kg,
|
||||||
ss_indirect,
|
ss_indirect,
|
||||||
state,
|
state,
|
||||||
ray,
|
ray,
|
||||||
L,
|
L,
|
||||||
throughput);
|
throughput);
|
||||||
ASSIGN_RAY_STATE(ray_state, ray_index, RAY_REGENERATED);
|
ASSIGN_RAY_STATE(ray_state, ray_index, RAY_REGENERATED);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* __SUBSURFACE__ */
|
#endif /* __SUBSURFACE__ */
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
CCL_NAMESPACE_END
|
CCL_NAMESPACE_END
|
||||||
|
Reference in New Issue
Block a user