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
Notes: blender-bot 2023-02-14 08:35:47 +01:00
Referenced by issue #46325, bone rotation
1 changed files with 1 additions and 0 deletions

View File

@ -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__