Blender Git Loki

Git Commits -> Revision 239c864

Revision 239c864 by Lukas Toenne (object_nodes, strand_nodes)
January 29, 2016, 13:31 (GMT)
Updated codegen for handling variables and expressions.

Note that kernel nodes now don't have explicit 'function' inputs
any more. Any expression input can be a separate block. Eventually
this should be handled by creating true loops, branches, etc. in the
generated code, rather than reading a jump address from the instructions
and passing it to a blackbox method as a "function pointer".

For the time being the kernel nodes simply prepend a jump address before
*every* input, using BVM_JMP_INVALID in case the input node is not in a
separate block.

Commit Details:

Full Hash: 239c864318a6524248409b47df41bfd80b13bfd5
Parent Commit: 067dfb3
Lines Changed: +69, -55

4 Modified Paths:

/source/blender/blenvm/bvm/bvm_eval.cc (+12, -10) (Diff)
/source/blender/blenvm/bvm/bvm_eval_mesh.h (+7, -8) (Diff)
/source/blender/blenvm/compile/bvm_codegen.cc (+46, -32) (Diff)
/source/blender/blenvm/compile/bvm_nodegraph.cc (+4, -5) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021