diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-09-19 16:01:30 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-01-20 13:24:59 +0300 |
commit | c526932b31e6de4543e968afdf3bd45a60aa36dc (patch) | |
tree | 0f57b56f2ffdc144230b81040e7840820173cb1a /intern/cycles/kernel/bvh | |
parent | 85225c56b5472d6b526ff62cb1a6f336c55796b5 (diff) |
Cycles: Cleanup, sync some comments across different traversal
Diffstat (limited to 'intern/cycles/kernel/bvh')
-rw-r--r-- | intern/cycles/kernel/bvh/bvh_shadow_all.h | 1 | ||||
-rw-r--r-- | intern/cycles/kernel/bvh/bvh_volume_all.h | 1 | ||||
-rw-r--r-- | intern/cycles/kernel/bvh/qbvh_shadow_all.h | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/intern/cycles/kernel/bvh/bvh_shadow_all.h b/intern/cycles/kernel/bvh/bvh_shadow_all.h index 0c0a877cdff..f3dc5cf195f 100644 --- a/intern/cycles/kernel/bvh/bvh_shadow_all.h +++ b/intern/cycles/kernel/bvh/bvh_shadow_all.h @@ -343,6 +343,7 @@ bool BVH_FUNCTION_FULL_NAME(BVH)(KernelGlobals *kg, if(stack_ptr >= 0) { kernel_assert(object != OBJECT_NONE); + /* Instance pop. */ if(num_hits_in_instance) { float t_fac; diff --git a/intern/cycles/kernel/bvh/bvh_volume_all.h b/intern/cycles/kernel/bvh/bvh_volume_all.h index 1f6515c9862..67b25625cc4 100644 --- a/intern/cycles/kernel/bvh/bvh_volume_all.h +++ b/intern/cycles/kernel/bvh/bvh_volume_all.h @@ -334,6 +334,7 @@ uint BVH_FUNCTION_FULL_NAME(BVH)(KernelGlobals *kg, if(stack_ptr >= 0) { kernel_assert(object != OBJECT_NONE); + /* Instance pop. */ if(num_hits_in_instance) { float t_fac; # if BVH_FEATURE(BVH_MOTION) diff --git a/intern/cycles/kernel/bvh/qbvh_shadow_all.h b/intern/cycles/kernel/bvh/qbvh_shadow_all.h index efd13f9d90c..c747fb24f59 100644 --- a/intern/cycles/kernel/bvh/qbvh_shadow_all.h +++ b/intern/cycles/kernel/bvh/qbvh_shadow_all.h @@ -424,6 +424,7 @@ ccl_device bool BVH_FUNCTION_FULL_NAME(QBVH)(KernelGlobals *kg, if(stack_ptr >= 0) { kernel_assert(object != OBJECT_NONE); + /* Instance pop. */ if(num_hits_in_instance) { float t_fac; |