Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Gavrilov <angavrilov@gmail.com>2016-08-02 19:26:57 +0300
committerAlexander Gavrilov <angavrilov@gmail.com>2016-08-02 19:26:57 +0300
commitf2d5295abf7a5285cd851de45c8beff276e84d3a (patch)
tree43b5afa1a6c91d8191fc82ff738a488a76f01a55 /intern/cycles/test/render_graph_finalize_test.cpp
parente54320c4883ec8276e64991e5b1604f557d4e354 (diff)
Cycles: log how many nodes were deduplicated for use in tests.
To make the number more meaningful, also skip deduplicating obviously unused nodes with no outgoing links.
Diffstat (limited to 'intern/cycles/test/render_graph_finalize_test.cpp')
-rw-r--r--intern/cycles/test/render_graph_finalize_test.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/cycles/test/render_graph_finalize_test.cpp b/intern/cycles/test/render_graph_finalize_test.cpp
index f84ddc3ff89..633e517ce9f 100644
--- a/intern/cycles/test/render_graph_finalize_test.cpp
+++ b/intern/cycles/test/render_graph_finalize_test.cpp
@@ -184,6 +184,7 @@ TEST(render_graph, deduplicate_deep)
EXPECT_ANY_MESSAGE(log);
CORRECT_INFO_MESSAGE(log, "Folding Value1::Value to constant (0.8).");
CORRECT_INFO_MESSAGE(log, "Folding Value2::Value to constant (0.8).");
+ CORRECT_INFO_MESSAGE(log, "Deduplicated 2 nodes.");
builder
.add_node(ShaderNodeBuilder<GeometryNode>("Geometry1"))