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.
This commit is contained in:
Brecht Van Lommel
2014-01-16 22:36:30 +01:00
parent 568e678fa3
commit e9227c76d4
2 changed files with 13 additions and 3 deletions

View File

@@ -141,6 +141,7 @@ protected:
int max_stack_use;
uint mix_weight_offset;
bool use_multi_closure;
bool compile_failed;
};
CCL_NAMESPACE_END