[Bf-blender-cvs] [be53a35ad3e] functions: allow lazy tuple call in fgraph ir generation
Jacques Lucke
noreply at git.blender.org
Sat Apr 6 23:43:44 CEST 2019
Commit: be53a35ad3e0a59b55b79b1137c60a5000e5bea8
Author: Jacques Lucke
Date: Sat Apr 6 23:42:57 2019 +0200
Branches: functions
https://developer.blender.org/rBbe53a35ad3e0a59b55b79b1137c60a5000e5bea8
allow lazy tuple call in fgraph ir generation
===================================================================
M source/blender/functions/backends/llvm/fgraph_ir_generation.cpp
===================================================================
diff --git a/source/blender/functions/backends/llvm/fgraph_ir_generation.cpp b/source/blender/functions/backends/llvm/fgraph_ir_generation.cpp
index d847c484a79..efab3a9691c 100644
--- a/source/blender/functions/backends/llvm/fgraph_ir_generation.cpp
+++ b/source/blender/functions/backends/llvm/fgraph_ir_generation.cpp
@@ -28,6 +28,11 @@ namespace FN {
derive_LLVMBuildIRBody_from_TupleCallBody(fn);
continue;
}
+ if (fn->has_body<LazyInTupleCallBody>()) {
+ derive_TupleCallBody_from_LazyInTupleCallBody(fn);
+ derive_LLVMBuildIRBody_from_TupleCallBody(fn);
+ continue;
+ }
}
m_required_sockets = fgraph.find_required_sockets();
}
More information about the Bf-blender-cvs
mailing list