diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-03-06 13:42:30 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-03-06 15:04:28 +0300 |
commit | ec904ed3274e66a4914cd08d4b6c6ce307c4d5ff (patch) | |
tree | 0a5cd3c5f34e207ae4cb6b5c24817b13bebd51eb /intern/cycles | |
parent | 8d572e87648b95f95f28d1a9fa252571304f5e0b (diff) |
Cycles: Cleanup, indentation
Diffstat (limited to 'intern/cycles')
-rw-r--r-- | intern/cycles/kernel/split/kernel_indirect_subsurface.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/intern/cycles/kernel/split/kernel_indirect_subsurface.h b/intern/cycles/kernel/split/kernel_indirect_subsurface.h index b65f3d1a940..236c94e983c 100644 --- a/intern/cycles/kernel/split/kernel_indirect_subsurface.h +++ b/intern/cycles/kernel/split/kernel_indirect_subsurface.h @@ -38,7 +38,6 @@ ccl_device void kernel_indirect_subsurface(KernelGlobals *kg) 1); #ifdef __SUBSURFACE__ - if(ray_index == QUEUE_EMPTY_SLOT) { return; } @@ -57,17 +56,15 @@ ccl_device void kernel_indirect_subsurface(KernelGlobals *kg) */ if(ss_indirect->num_rays) { kernel_path_subsurface_setup_indirect(kg, - ss_indirect, - state, - ray, - L, - throughput); + ss_indirect, + state, + ray, + L, + throughput); ASSIGN_RAY_STATE(ray_state, ray_index, RAY_REGENERATED); } } - #endif /* __SUBSURFACE__ */ - } CCL_NAMESPACE_END |