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.
This commit is contained in:
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user