Shader_IR: mark labels as unused for partial decompile.
This commit is contained in:
parent
47e4f6a52c
commit
0366c18d87
2 changed files with 9 additions and 3 deletions
|
@ -497,9 +497,7 @@ void ASTManager::Decompile() {
|
|||
}
|
||||
}
|
||||
if (can_remove) {
|
||||
auto& manager = label->GetManager();
|
||||
manager.Remove(label);
|
||||
labels.erase(it);
|
||||
label->MarkLabelUnused();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue