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:
parent
2f9a98870e
commit
0fcc00e22a
|
@ -249,10 +249,10 @@ struct FunctionInfo {
|
||||||
// This only matters if we're dumping the graph.
|
// This only matters if we're dumping the graph.
|
||||||
std::string unique_tag = tag;
|
std::string unique_tag = tag;
|
||||||
int suffix = 0;
|
int suffix = 0;
|
||||||
while (tags_.count(unique_tag)) {
|
while (tags_.Contains(unique_tag)) {
|
||||||
unique_tag = tag + "_$" + std::to_string(++suffix);
|
unique_tag = tag + "_$" + std::to_string(++suffix);
|
||||||
}
|
}
|
||||||
tags_.insert(unique_tag);
|
tags_.Add(unique_tag);
|
||||||
node->tag = name + "." + unique_tag;
|
node->tag = name + "." + unique_tag;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue