Cleanup comment and remove now redundant define.

This commit is contained in:
Thomas Dinges
2015-06-15 23:35:38 +02:00
parent 099aaea447
commit 888ed6b7f1

View File

@@ -56,7 +56,7 @@ ccl_device void kernel_branched_path_ao(KernelGlobals *kg, ShaderData *sd, PathR
} }
/* branched path tracing: bounce off surface and integrate indirect light */ /* bounce off surface and integrate indirect light */
ccl_device_noinline void kernel_branched_path_surface_indirect_light(KernelGlobals *kg, ccl_device_noinline void kernel_branched_path_surface_indirect_light(KernelGlobals *kg,
RNG *rng, ShaderData *sd, float3 throughput, float num_samples_adjust, RNG *rng, ShaderData *sd, float3 throughput, float num_samples_adjust,
PathState *state, PathRadiance *L) PathState *state, PathRadiance *L)
@@ -161,7 +161,7 @@ ccl_device void kernel_branched_path_subsurface_scatter(KernelGlobals *kg,
} }
#endif #endif
#if defined(__EMISSION__) && defined(__BRANCHED_PATH__) #ifdef __EMISSION__
/* direct light */ /* direct light */
if(kernel_data.integrator.use_direct_light) { if(kernel_data.integrator.use_direct_light) {
bool all = kernel_data.integrator.sample_all_lights_direct; bool all = kernel_data.integrator.sample_all_lights_direct;