Cleanup: compiler warning

This commit is contained in:
Brecht Van Lommel 2021-12-01 20:52:31 +01:00
parent cb334428b0
commit 8ca8380699
1 changed files with 0 additions and 1 deletions

View File

@ -434,7 +434,6 @@ ccl_device bool light_sample_from_intersection(KernelGlobals kg,
ls->pdf = invarea;
/* spot light attenuation */
float3 dir = make_float3(klight->spot.dir[0], klight->spot.dir[1], klight->spot.dir[2]);
ls->eval_fac *= spot_light_attenuation(
ls->Ng, klight->spot.spot_angle, klight->spot.spot_smooth, -ls->D);