Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorThomas Dinges <blender@dingto.org>2013-02-07 03:19:14 +0400
committerThomas Dinges <blender@dingto.org>2013-02-07 03:19:14 +0400
commit8011cbc751cc8eb3e3355f1037a8609909a53ee9 (patch)
tree8a943d624b3a4015e9a5bb1082aa88a555fdefb2 /intern
parentd686b1c20f1f5bb3cc587399b0a8dc073bf3b218 (diff)
CUDA / sm_20:
* Enable Lamp MIS again, it works on a GTX 570 (which is sm_20) with latest SVN. Tested by vitos1k in IRC:. Feedback from GTX 580 users would be appreciated on this.
Diffstat (limited to 'intern')
-rw-r--r--intern/cycles/kernel/kernel_types.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/intern/cycles/kernel/kernel_types.h b/intern/cycles/kernel/kernel_types.h
index 2ef3d71dd1d..52bdddc72fb 100644
--- a/intern/cycles/kernel/kernel_types.h
+++ b/intern/cycles/kernel/kernel_types.h
@@ -44,7 +44,6 @@ CCL_NAMESPACE_BEGIN
#define __KERNEL_SHADING__
#define __KERNEL_ADV_SHADING__
#define __NON_PROGRESSIVE__
-#define __LAMP_MIS__
#define __HAIR__
#ifdef WITH_OSL
#define __OSL__
@@ -56,9 +55,6 @@ CCL_NAMESPACE_BEGIN
#if __CUDA_ARCH__ >= 200
#define __KERNEL_ADV_SHADING__
#endif
-#if __CUDA_ARCH__ >= 210
-#define __LAMP_MIS__
-#endif
#endif
#ifdef __KERNEL_OPENCL__
@@ -116,6 +112,7 @@ CCL_NAMESPACE_BEGIN
#define __TRANSPARENT_SHADOWS__
#define __PASSES__
#define __BACKGROUND_MIS__
+#define __LAMP_MIS__
#define __AO__
#define __ANISOTROPIC__
#define __CAMERA_MOTION__