[Bf-blender-cvs] [8d42e7b] master: Cleanup / Cycles: Adjust comment for faster testing in the future.

Thomas Dinges noreply at git.blender.org
Thu May 1 01:21:33 CEST 2014


Commit: 8d42e7b20d884937f7bf5491b0bddeec3e54b67b
Author: Thomas Dinges
Date:   Thu May 1 01:20:59 2014 +0200
https://developer.blender.org/rB8d42e7b20d884937f7bf5491b0bddeec3e54b67b

Cleanup / Cycles: Adjust comment for faster testing in the future.

Unfortunately the function call is still a bit slower, even with CUDA 6.0. :/

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

M	intern/cycles/kernel/kernel_path.h

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

diff --git a/intern/cycles/kernel/kernel_path.h b/intern/cycles/kernel/kernel_path.h
index 0c4d15d..f9dc9f3 100644
--- a/intern/cycles/kernel/kernel_path.h
+++ b/intern/cycles/kernel/kernel_path.h
@@ -818,7 +818,7 @@ ccl_device float4 kernel_path_integrate(KernelGlobals *kg, RNG *rng, int sample,
 		}
 #endif
 		
-		/* The following code is the same as in kernel_path_integrate_lighting(),
+		/* Same as kernel_path_integrate_lighting(kg, rng, &sd, &throughput, &state, &L, &ray),
 		   but for CUDA the function call is slower. */
 #ifdef __EMISSION__
 		if(kernel_data.integrator.use_direct_light) {




More information about the Bf-blender-cvs mailing list