Code cleanup: store branch factor in PathState.
[blender.git] / intern / cycles / kernel / split / kernel_do_volume.h
index 478d83d633e3b9babdde5daa1d5dfaf2165f6328..2975aa200045de3ee30ea048151b0e276705947d 100644 (file)
@@ -72,7 +72,6 @@ ccl_device_noinline bool kernel_split_branched_path_volume_indirect_light_iter(K
                        /* start the indirect path */
                        branched_state->next_closure = 0;
                        branched_state->next_sample = j+1;
-                       branched_state->num_samples = num_samples;
 
                        /* Attempting to share too many samples is slow for volumes as it causes us to
                         * loop here more and have many calls to kernel_volume_integrate which evaluates