Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--intern/cycles/kernel/split/kernel_indirect_subsurface.h13
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