Blender Git Loki

Git Commits -> Revision 24b7839

Revision 24b7839 by Lukas Toenne (object_nodes, strand_nodes)
May 9, 2016, 06:17 (GMT)
Disable IR module loading for blenvm by default (with a compile option).

Base modules for nodes will instead be declared as external functions with regular
linkage through C code. This means some potential for low-level optimization might be lost,
but this shouldn't be a big problem as long as node functions don't get too complex
(which means they should be split up in the first place).

IR module loading is not the real issue, but generating the IR code from C/C++ code
in a generic way is not so easy. In the future we may actually generate most code for
basic operators and types directly inside blenvm and only use precompiled modules
for more complex functions.

Commit Details:

Full Hash: 24b78398cf1c4435a0d707737bf7a2f75b110b38
Parent Commit: c5fd1ae
Lines Changed: +322, -210

2 Added Paths:

/source/blender/blenvm/llvm/llvm_modules.cc (+221, -0) (View)
/source/blender/blenvm/llvm/llvm_modules.h (+54, -0) (View)

5 Modified Paths:

/CMakeLists.txt (+2, -0) (Diff)
/source/blender/blenvm/llvm/CMakeLists.txt (+43, -35) (Diff)
/source/blender/blenvm/llvm/llvm_codegen.cc (+1, -0) (Diff)
/source/blender/blenvm/llvm/llvm_engine.cc (+1, -163) (Diff)
/source/blender/blenvm/llvm/llvm_engine.h (+0, -12) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021