Code cleanup: store branch factor in PathState.
[blender.git] / intern / cycles / kernel / kernel_path_branched.h
index b908cbbe97027417be5c10b977f0a86cb729518e..3994d8d49546b949a60149f8c32429a272ae3bb2 100644 (file)
@@ -142,7 +142,6 @@ ccl_device_noinline void kernel_branched_path_surface_indirect_light(KernelGloba
                                             emission_sd,
                                             &bsdf_ray,
                                             tp*num_samples_inv,
-                                            num_samples,
                                             &ps,
                                             L);
 
@@ -359,7 +358,6 @@ ccl_device void kernel_branched_path_integrate(KernelGlobals *kg,
                                                                     &emission_sd,
                                                                     &pray,
                                                                     tp*num_samples_inv,
-                                                                    num_samples,
                                                                     &ps,
                                                                     L);
 
@@ -415,7 +413,6 @@ ccl_device void kernel_branched_path_integrate(KernelGlobals *kg,
                                                                     &emission_sd,
                                                                     &pray,
                                                                     tp,
-                                                                    num_samples,
                                                                     &ps,
                                                                     L);