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-12-13 02:51:35 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2011-12-13 02:51:35 +0400
commit9e01abf7779a9272530d392767bdf9630544d519 (patch)
tree268d1a4e92e87ae6a9517cc1b9fee07822a95fc6 /intern/cycles/device/device.h
parent94bc2b0cffd27dc74f428aee86ca9e2782a14e0a (diff)
Cycles: require Experimental to be set to enable CUDA on cards with shader model
lower than 1.3, since we're not officially supporting these. We're already not providing CUDA binaries for these, so better make it clear when compiling from source too.
Diffstat (limited to 'intern/cycles/device/device.h')
-rw-r--r--intern/cycles/device/device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/device/device.h b/intern/cycles/device/device.h
index 5552e6ab7e2..5b87b11b6b8 100644
--- a/intern/cycles/device/device.h
+++ b/intern/cycles/device/device.h
@@ -112,7 +112,7 @@ public:
virtual void *osl_memory() { return NULL; }
/* load/compile kernels, must be called before adding tasks */
- virtual bool load_kernels() { return true; }
+ virtual bool load_kernels(bool experimental) { return true; }
/* tasks */
virtual void task_add(DeviceTask& task) = 0;