diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2014-01-17 01:36:30 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2014-01-17 01:36:30 +0400 |
commit | e9227c76d480c5e7973b6bce03cce3ad414b0348 (patch) | |
tree | bb635802c01c4239f18db5c9c2025580fdcc9b7f /intern/cycles/render/svm.h | |
parent | 568e678fa3a72b5339f42449665c7403b3357a09 (diff) |
Fix T37706: avoid cycles crash when using a stack that exceeds SVM stack limits.
This should be pretty rare, the shader in question had many parallel node links
because of copying the nodes many times, which is inefficient to run anyway.
Diffstat (limited to 'intern/cycles/render/svm.h')
-rw-r--r-- | intern/cycles/render/svm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/cycles/render/svm.h b/intern/cycles/render/svm.h index 9693e54ce75..3d84a67e173 100644 --- a/intern/cycles/render/svm.h +++ b/intern/cycles/render/svm.h @@ -141,6 +141,7 @@ protected: int max_stack_use; uint mix_weight_offset; bool use_multi_closure; + bool compile_failed; }; CCL_NAMESPACE_END |