Blender Git Loki
Git Commits -> Revision bf007ba
May 19, 2016, 16:04 (GMT) |
Define a separate node function module for every compiler type. This means we can have differing implementations for every potential use of nodes, such as plain value functions vs. dual values with derivatives. Node functions for each compiler type are stored in a static map and are lazy-initialized on the first node graph compilation. |
Commit Details:
Full Hash: bf007badbf7a10f3106002b75fd9a6be552bd479
Parent Commit: d54b4d2
Lines Changed: +287, -374
7 Modified Paths:
/source/blender/blenvm/llvm/llvm_codegen.cc (+258, -130) (Diff)
/source/blender/blenvm/llvm/llvm_codegen.h (+29, -21) (Diff)
/source/blender/blenvm/llvm/llvm_engine.cc (+0, -1) (Diff)
/source/blender/blenvm/llvm/llvm_modules.cc (+0, -134) (Diff)
/source/blender/blenvm/llvm/llvm_modules.h (+0, -2) (Diff)
/source/blender/blenvm/llvm/llvm_types.cc (+0, -76) (Diff)
/source/blender/blenvm/llvm/llvm_types.h (+0, -10) (Diff)
/source/blender/blenvm/llvm/llvm_codegen.h (+29, -21) (Diff)
/source/blender/blenvm/llvm/llvm_engine.cc (+0, -1) (Diff)
/source/blender/blenvm/llvm/llvm_modules.cc (+0, -134) (Diff)
/source/blender/blenvm/llvm/llvm_modules.h (+0, -2) (Diff)
/source/blender/blenvm/llvm/llvm_types.cc (+0, -76) (Diff)
/source/blender/blenvm/llvm/llvm_types.h (+0, -10) (Diff)