Cycles: Remove meaningless debug traversal steps increment from QBVH volume code

This commit is contained in:
Sergey Sharybin
2015-06-11 23:54:57 +02:00
parent f6748183a2
commit b3cc602adc

View 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,