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 21:40:47 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2011-10-16 21:40:47 +0400
commit60bc63c7b8e308ad652eae750fcb932f3fc0218d (patch)
treecdbc02fc7b2bfff84dc3328683333a46eeb6097c /intern/cycles/device/device.cpp
parent11f3029267524f66b1f4db9de53889216bfd7c35 (diff)
Cycles: enable improved closure sampling, this should give less noise for mix, add
and glass shaders. How well this will work on non-fermi GPU's is unclear still, it's a bit heavy on register usage.
Diffstat (limited to 'intern/cycles/device/device.cpp')
-rw-r--r--intern/cycles/device/device.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/cycles/device/device.cpp b/intern/cycles/device/device.cpp
index f43ccffe461..01c50817709 100644
--- a/intern/cycles/device/device.cpp
+++ b/intern/cycles/device/device.cpp
@@ -157,6 +157,8 @@ Device *Device::create(DeviceType type, bool background, int threads)
return NULL;
}
+ device->device_type = type;
+
return device;
}