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:
authorSergey Sharybin <sergey.vfx@gmail.com>2015-11-20 16:18:27 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2015-11-20 16:18:27 +0300
commit7e71be261bb88d0a7c1dcef7b19995317fdb51ef (patch)
tree9939d3285bea1aa9eb2e328c931162ce5adbd09f /intern/cycles/render/svm.h
parentc4188c2bbabd87e12c7827fb30d42d2a9f61df8e (diff)
Cycles: Fix filter glossy being broken after recent changes
Basically we can not use sharp closure as a substitude when filter glossy is used. This is because we can not blur sharp reflection/refraction. This is quite quick and not really clean implementation. Not really happy with manual handling of original settings, but this is as good as we can do in the quick patch. It's a good acknowledgment and we now can re-consider some aspects of graph simplification to make such cases more natively supported. P.S. This failure would have been shown by our regression tests, so please, bother a bit to run Cycles's test sweep before doing such optimizations.
Diffstat (limited to 'intern/cycles/render/svm.h')
-rw-r--r--intern/cycles/render/svm.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/intern/cycles/render/svm.h b/intern/cycles/render/svm.h
index 4b390fb88f9..e48fe5e32ed 100644
--- a/intern/cycles/render/svm.h
+++ b/intern/cycles/render/svm.h
@@ -53,7 +53,10 @@ public:
class SVMCompiler {
public:
SVMCompiler(ShaderManager *shader_manager, ImageManager *image_manager);
- void compile(Shader *shader, vector<int4>& svm_nodes, int index);
+ void compile(Scene *scene,
+ Shader *shader,
+ vector<int4>& svm_nodes,
+ int index);
void stack_assign(ShaderOutput *output);
void stack_assign(ShaderInput *input);