[Bf-blender-cvs] [549a9f0e697] soc-2022-many-lights-sampling: Cleanup: compiler warning
Brecht Van Lommel
noreply at git.blender.org
Fri Oct 7 14:46:37 CEST 2022
Commit: 549a9f0e69794634ff4e862004b948eac26c22fd
Author: Brecht Van Lommel
Date: Fri Oct 7 14:13:40 2022 +0200
Branches: soc-2022-many-lights-sampling
https://developer.blender.org/rB549a9f0e69794634ff4e862004b948eac26c22fd
Cleanup: compiler warning
===================================================================
M intern/cycles/kernel/integrator/shade_surface.h
===================================================================
diff --git a/intern/cycles/kernel/integrator/shade_surface.h b/intern/cycles/kernel/integrator/shade_surface.h
index 9dbeb804f12..7cca49ba2b8 100644
--- a/intern/cycles/kernel/integrator/shade_surface.h
+++ b/intern/cycles/kernel/integrator/shade_surface.h
@@ -129,7 +129,6 @@ ccl_device_forceinline void integrate_surface_emission(KernelGlobals kg,
float pdf = triangle_light_pdf(kg, sd, t);
if (kernel_data.integrator.use_light_tree) {
float3 ray_P = INTEGRATOR_STATE(state, ray, P);
- const float3 ray_D = INTEGRATOR_STATE(state, ray, D);
const float3 N = INTEGRATOR_STATE(state, path, mis_origin_n);
uint lookup_offset = kernel_data_fetch(object_lookup_offset, sd->object);
uint prim_offset = kernel_data_fetch(object_prim_offset, sd->object);
More information about the Bf-blender-cvs
mailing list