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
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2011-10-16 22:54:27 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2011-10-16 22:54:27 +0400
commit5fd67a3ba5ad10a932a0a1b4cbd3fe37691fbae1 (patch)
tree8dd8bde6ac10df92c30cf4a66d168eedef396e82 /intern/cycles/device/device_cpu.cpp
parent33691eb0e7d0c6b7aa47f3b8640b1a332004de6d (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_cpu.cpp')
-rw-r--r--intern/cycles/device/device_cpu.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/intern/cycles/device/device_cpu.cpp b/intern/cycles/device/device_cpu.cpp
index 2409cc65998..d6e1c200996 100644
--- a/intern/cycles/device/device_cpu.cpp
+++ b/intern/cycles/device/device_cpu.cpp
@@ -69,6 +69,11 @@ public:
kernel_globals_free(kg);
}
+ bool support_full_kernel()
+ {
+ return true;
+ }
+
string description()
{
return system_cpu_brand_string();