Shader_IR: mark labels as unused for partial decompile.

This commit is contained in:
Fernando Sahmkow 2019-08-21 11:54:47 -04:00 committed by FernandoS27
parent 7b55e1c0b1
commit 7e08fad2d4
2 changed files with 9 additions and 3 deletions
src/video_core/shader

View file

@ -497,9 +497,7 @@ void ASTManager::Decompile() {
}
}
if (can_remove) {
auto& manager = label->GetManager();
manager.Remove(label);
labels.erase(it);
label->MarkLabelUnused();
}
}
}