Cleanup: Remove unused variable in kernel_path_volume_bounce().
[blender-staging.git] / intern / cycles / kernel / kernel_path_volume.h
index 4d6bf47ef9e407624e0ce83bd7857b4a33c58e9d..9189e5c518d615ee9db56af2921c0dab6a0d351e 100644 (file)
@@ -58,8 +58,7 @@ ccl_device void kernel_path_volume_connect_light(KernelGlobals *kg, RNG *rng,
 }
 
 ccl_device bool kernel_path_volume_bounce(KernelGlobals *kg, RNG *rng,
-       ShaderData *sd, float3 *throughput, PathState *state, PathRadiance *L, Ray *ray,
-       float num_samples_adjust)
+       ShaderData *sd, float3 *throughput, PathState *state, PathRadiance *L, Ray *ray)
 {
        /* sample phase function */
        float phase_pdf;