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/render/session.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/render/session.h')
-rw-r--r--intern/cycles/render/session.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/intern/cycles/render/session.h b/intern/cycles/render/session.h
index 82c14227d03..ce7f420096a 100644
--- a/intern/cycles/render/session.h
+++ b/intern/cycles/render/session.h
@@ -43,6 +43,7 @@ public:
string output_path;
bool progressive;
+ bool experimental;
int samples;
int tile_size;
int min_size;
@@ -59,6 +60,7 @@ public:
output_path = "";
progressive = false;
+ experimental = false;
samples = INT_MAX;
tile_size = 64;
min_size = 64;
@@ -75,6 +77,7 @@ public:
&& output_path == params.output_path
/* && samples == params.samples */
&& progressive == params.progressive
+ && experimental == params.experimental
&& tile_size == params.tile_size
&& min_size == params.min_size
&& threads == params.threads