diff options
author | Manuel Castilla <manzanillawork@gmail.com> | 2021-05-30 17:22:07 +0300 |
---|---|---|
committer | Manuel Castilla <manzanillawork@gmail.com> | 2021-05-31 11:44:36 +0300 |
commit | b17c49004318cd6e2ef8587a7defe498e1d97333 (patch) | |
tree | e1fb33ee2898a997587b7fc2be214322dee16a0c /source/blender/compositor/intern/COM_TiledExecutionModel.h | |
parent | 89e22a99e7b8f03cb1bd4ecb144181e67fee6d1d (diff) |
Compositor: Do constant folding for full frame execution
All operations with constant pixel/elements are evaluated into primitive Value/Vector/Color constant operations prior rendering execution. This is the case of operations that are constant only when all their inputs are so. Such operations should set can_be_constant flag to true. is_constant flag is only used for primitive operations (Color/Vector/Value) which are the only constant operations during rendering execution.
Diffstat (limited to 'source/blender/compositor/intern/COM_TiledExecutionModel.h')
-rw-r--r-- | source/blender/compositor/intern/COM_TiledExecutionModel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/compositor/intern/COM_TiledExecutionModel.h b/source/blender/compositor/intern/COM_TiledExecutionModel.h index 05a795b9f07..f2d5ea04f5f 100644 --- a/source/blender/compositor/intern/COM_TiledExecutionModel.h +++ b/source/blender/compositor/intern/COM_TiledExecutionModel.h @@ -38,7 +38,7 @@ class TiledExecutionModel : public ExecutionModel { public: TiledExecutionModel(CompositorContext &context, - Span<NodeOperation *> operations, + Vector<NodeOperation *> &operations, Span<ExecutionGroup *> groups); void execute(ExecutionSystem &exec_system) override; |