Add back ray bounces debug code, can be useful nevertheless.

Just need to keep in mind that these are not indirect bounces in the pass then.
This commit is contained in:
Thomas Dinges 2015-06-16 00:37:34 +02:00
parent 6d63446710
commit 291152e127

@ -229,6 +229,7 @@ ccl_device float4 kernel_branched_path_integrate(KernelGlobals *kg, RNG *rng, in
#ifdef __KERNEL_DEBUG__
debug_data.num_bvh_traversal_steps += isect.num_traversal_steps;
debug_data.num_bvh_traversed_instances += isect.num_traversed_instances;
debug_data.num_ray_bounces++;
#endif
#ifdef __VOLUME__