Cycles: enable lamp multiple importance sampling on the GPU, seems to be
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Mon, 14 Jan 2013 17:52:11 +0000 (17:52 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Mon, 14 Jan 2013 17:52:11 +0000 (17:52 +0000)
working ok with sm_20 and sm_21.

intern/cycles/kernel/kernel_types.h

index 102be44..dcd7220 100644 (file)
@@ -48,7 +48,6 @@ CCL_NAMESPACE_BEGIN
 #endif
 #define __NON_PROGRESSIVE__
 #define __HAIR__
-#define __LAMP_MIS__
 #endif
 
 #ifdef __KERNEL_CUDA__
@@ -117,6 +116,7 @@ CCL_NAMESPACE_BEGIN
 #define __CAMERA_MOTION__
 #define __ANISOTROPIC__
 #define __OBJECT_MOTION__
+#define __LAMP_MIS__
 #endif
 //#define __SOBOL_FULL_SCREEN__