Blender Git Loki

Git Commits -> Revision 926819d

Revision 926819d by Lukas Toenne (object_nodes, strand_nodes)
June 16, 2016, 07:10 (GMT)
Use a Scope concept for avoiding codegen for existing nodes.

Rather than a single socket value map, use a "scope" to keep track of which
nodes are already generated. This reintroduces the "block" idea from earlier
versions, but at the later codegen stage rather than the node graph.

Describing scope on the level of nodes becomes quite clumsy and ambiguous,
and moves nodes further away from the UI representation. The compiler can
handle this more elegantly without requiring persistent data.

Scopes can be nested. This is not used yet, but will allow scoped variables
later on, where the variables being used for a node path depend on its scope.

Commit Details:

Full Hash: 926819d82f7ab63d03c65197fd59f14259fc08fa
Parent Commit: 5963c56
Lines Changed: +84, -53

2 Modified Paths:

/source/blender/blenvm/llvm/llvm_compiler.cc (+71, -20) (Diff)
/source/blender/blenvm/llvm/llvm_compiler.h (+13, -33) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021