From 291152e127e6cc4b605208739522a36c4b03e999 Mon Sep 17 00:00:00 2001 From: Thomas Dinges Date: Tue, 16 Jun 2015 00:37:34 +0200 Subject: [PATCH] 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. --- intern/cycles/kernel/kernel_path_branched.h | 1 + 1 file changed, 1 insertion(+) diff --git a/intern/cycles/kernel/kernel_path_branched.h b/intern/cycles/kernel/kernel_path_branched.h index 431ee785e95..ae8a9c91068 100644 --- a/intern/cycles/kernel/kernel_path_branched.h +++ b/intern/cycles/kernel/kernel_path_branched.h @@ -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__