[Bf-blender-cvs] [f48051d] cycles_kernel_split: Add comment for PATH_ITER_INC_FACTOR

varunsundar08 noreply at git.blender.org
Mon Apr 6 12:08:29 CEST 2015


Commit: f48051d7eb4e57e2849036f36695c379cf9a21be
Author: varunsundar08
Date:   Mon Apr 6 15:37:23 2015 +0530
Branches: cycles_kernel_split
https://developer.blender.org/rBf48051d7eb4e57e2849036f36695c379cf9a21be

Add comment for PATH_ITER_INC_FACTOR

===================================================================

M	intern/cycles/device/device_opencl.cpp

===================================================================

diff --git a/intern/cycles/device/device_opencl.cpp b/intern/cycles/device/device_opencl.cpp
index 0d3b8bb..e68c0db 100644
--- a/intern/cycles/device/device_opencl.cpp
+++ b/intern/cycles/device/device_opencl.cpp
@@ -48,6 +48,7 @@ CCL_NAMESPACE_BEGIN
 
 #ifdef __SPLIT_KERNEL__
 /* This value may be tuned according to the scene we are rendering */
+/* modifying PATH_ITER_INC_FACTOR value proportional to number of expected ray-bounces will improve performance */
 #define PATH_ITER_INC_FACTOR 8
 
 /*




More information about the Bf-blender-cvs mailing list