Commit e5712a25 by qining

Fix the slow down in noContraction propagation

parent 823fc656
...@@ -401,7 +401,8 @@ bool TSymbolDefinitionCollectingTraverser::visitBinary(glslang::TVisit /* visit ...@@ -401,7 +401,8 @@ bool TSymbolDefinitionCollectingTraverser::visitBinary(glslang::TVisit /* visit
} else { } else {
// For other binary nodes, still traverse the right node. // For other binary nodes, still traverse the right node.
current_object_.clear(); current_object_.clear();
return true; node->getRight()->traverse(this);
return false;
} }
return false; return false;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment