diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-11-25 11:46:51 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-11-25 11:46:51 +0300 |
commit | 8294452b14fac54443f31fe11950d19370e27b43 (patch) | |
tree | 16039d458573de17644224022ab019eaeee16d95 /COPYING | |
parent | 443b159f023a872472d8e61c7270dab472a3d8ee (diff) |
Fix T46782: Updating Shaders very slow with complex nodegraph
The issue was caused by not really optimal graph traversal for gathering nodes
dependencies which could have exponential complexity with a long tree branches
connected with multiple connections between them.
Now we optimize the depth traversal and perform early output if the node was
already traversed.
Please note that this adds some limitations to the use of SVM compiler's
find_dependencies() in the cases when skip_node is not NULL and one wants to
perform dependencies find sequentially with the same set. This doesn't happen
in the code, but one should be aware of this.
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions