Blender Git Commit Log

Git Commits -> Revision c882d15

Revision c882d15 by Lukas Toenne (object_nodes, strand_nodes)
January 8, 2016, 16:31 (GMT)
Generalized algorithm for constructing node blocks based on local arguments.

Nodes can have expression inputs and override argument nodes with local
variables. This means that a local block must be created for each expression
input. The boundaries of such blocks are defined implicitly by upstream nodes
which define their own local arguments (or ultimately by the graph arguments).

The current version is still not quite generic enough to allow arbitrary
nesting of blocks, but it should ensure that expressions don't include all
the parent nodes which don't depend on local arguments and therefore should
be calculated in the parent block (a form of constant folding).

Commit Details:

Full Hash: c882d15626fd5e013ed0a40f4ab86baeedd3c028
Parent Commit: 3598ef2
Lines Changed: +209, -140

3 Modified Paths:

/source/blender/blenvm/compile/bvm_codegen.cc (+185, -126) (Diff)
/source/blender/blenvm/compile/bvm_codegen.h (+23, -13) (Diff)
/source/blender/blenvm/compile/bvm_codegen_debug.cc (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021