Shader_IR: allow else derivation to be optional.

This commit is contained in:
Fernando Sahmkow 2019-09-20 21:12:06 -04:00 committed by FernandoS27
parent ca9901867e
commit 2e9a810423
7 changed files with 18 additions and 10 deletions

View file

@ -298,7 +298,7 @@ private:
class ASTManager final {
public:
ASTManager(bool full_decompile);
ASTManager(bool full_decompile, bool disable_else_derivation);
~ASTManager();
ASTManager(const ASTManager& o) = delete;
@ -378,6 +378,7 @@ private:
}
bool full_decompile{};
bool disable_else_derivation{};
std::unordered_map<u32, u32> labels_map{};
u32 labels_count{};
std::vector<ASTNode> labels{};