tint/uniformity: Fix debug graph output

The code that was ifdef'd out no longer compiled.

Change-Id: I6243cc6a3584c555505c4bee68ec02bbb96801c3
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/113430
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: James Price <jrprice@google.com>
This commit is contained in:
James Price 2022-12-17 02:21:36 +00:00 committed by Dawn LUCI CQ
parent 2f9a98870e
commit 0fcc00e22a
1 changed files with 2 additions and 2 deletions

View File

@ -249,10 +249,10 @@ struct FunctionInfo {
// This only matters if we're dumping the graph.
std::string unique_tag = tag;
int suffix = 0;
while (tags_.count(unique_tag)) {
while (tags_.Contains(unique_tag)) {
unique_tag = tag + "_$" + std::to_string(++suffix);
}
tags_.insert(unique_tag);
tags_.Add(unique_tag);
node->tag = name + "." + unique_tag;
#endif