Cycles: Remove meaningless debug traversal steps increment from QBVH volume code
authorSergey Sharybin <sergey.vfx@gmail.com>
Thu, 11 Jun 2015 21:54:57 +0000 (23:54 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Thu, 11 Jun 2015 21:54:57 +0000 (23:54 +0200)
intern/cycles/kernel/geom/geom_qbvh_volume.h

index e3a5dcffee5fad4a91b93cdfe9f2c466cf133bea..d8cfa3a4061e3ebd703276b298d94898a728a0a9 100644 (file)
@@ -95,10 +95,6 @@ ccl_device bool BVH_FUNCTION_FULL_NAME(QBVH)(KernelGlobals *kg,
                do {
                        /* Traverse internal nodes. */
                        while(nodeAddr >= 0 && nodeAddr != ENTRYPOINT_SENTINEL) {
-#if defined(__KERNEL_DEBUG__)
-                               isect->num_traversal_steps++;
-#endif
-
                                ssef dist;
                                int traverseChild = qbvh_node_intersect(kg,
                                                                        tnear,