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.h
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.h')
-rw-r--r--intern/cycles/device/device.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/intern/cycles/device/device.h b/intern/cycles/device/device.h
index 0b3c66dbb2c..360478cfd75 100644
--- a/intern/cycles/device/device.h
+++ b/intern/cycles/device/device.h
@@ -75,12 +75,14 @@ class Device {
protected:
Device() {}
- DeviceType type;
+ DeviceType device_type;
bool background;
public:
virtual ~Device() {}
+ DeviceType type() { return device_type; }
+
/* info */
virtual string description() = 0;