diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2011-10-16 22:54:27 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2011-10-16 22:54:27 +0400 |
commit | 5fd67a3ba5ad10a932a0a1b4cbd3fe37691fbae1 (patch) | |
tree | 8dd8bde6ac10df92c30cf4a66d168eedef396e82 /intern/cycles/device/device_multi.cpp | |
parent | 33691eb0e7d0c6b7aa47f3b8640b1a332004de6d (diff) |
Cycles: enable multi closure sampling and transparent shadows only on CPU and
CUDA cards with shader model >= 2 for now (GTX 4xx, 5xx, ..). The CUDA compiler
can't handle the increased kernel size currently.
Diffstat (limited to 'intern/cycles/device/device_multi.cpp')
-rw-r--r-- | intern/cycles/device/device_multi.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/intern/cycles/device/device_multi.cpp b/intern/cycles/device/device_multi.cpp index f2f6251685e..128c80ac396 100644 --- a/intern/cycles/device/device_multi.cpp +++ b/intern/cycles/device/device_multi.cpp @@ -90,6 +90,16 @@ public: delete sub.device; } + bool support_full_kernel() + { + foreach(SubDevice& sub, devices) { + if(!sub.device->support_full_kernel()) + return false; + } + + return true; + } + string description() { /* create map to find duplicate descriptions */ |