From 45004d82e04d8cdd9cc57fc5ee2b243f8bfd7ee3 Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Wed, 8 Jul 2020 11:18:43 +0200 Subject: Functions: add dead node removal and constant folding optimization Those optimizations work on the multi-function network level. Not only will they make the network evaluation faster, but they also simplify the network a lot. That makes it easier to understand the exported dot graph. --- source/blender/functions/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/functions/CMakeLists.txt') diff --git a/source/blender/functions/CMakeLists.txt b/source/blender/functions/CMakeLists.txt index 963e6d8148e..fefd86f6c86 100644 --- a/source/blender/functions/CMakeLists.txt +++ b/source/blender/functions/CMakeLists.txt @@ -33,6 +33,7 @@ set(SRC intern/multi_function_builder.cc intern/multi_function_network.cc intern/multi_function_network_evaluation.cc + intern/multi_function_network_optimization.cc FN_array_spans.hh FN_attributes_ref.hh @@ -44,6 +45,7 @@ set(SRC FN_multi_function_data_type.hh FN_multi_function_network.hh FN_multi_function_network_evaluation.hh + FN_multi_function_network_optimization.hh FN_multi_function_param_type.hh FN_multi_function_params.hh FN_multi_function_signature.hh -- cgit v1.2.3