summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader/ast.h
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-09-21 03:12:06 +0200
committerFernandoS27 <fsahmkow27@gmail.com>2019-10-05 00:52:52 +0200
commit2e9a810423ef36178ac3947f8feeb7b9a5b29bce (patch)
treecad196eab22eafd8766a51e7086b8812e510b1c6 /src/video_core/shader/ast.h
parentvk_shader_compiler: Implement the decompiler in SPIR-V (diff)
downloadyuzu-2e9a810423ef36178ac3947f8feeb7b9a5b29bce.tar
yuzu-2e9a810423ef36178ac3947f8feeb7b9a5b29bce.tar.gz
yuzu-2e9a810423ef36178ac3947f8feeb7b9a5b29bce.tar.bz2
yuzu-2e9a810423ef36178ac3947f8feeb7b9a5b29bce.tar.lz
yuzu-2e9a810423ef36178ac3947f8feeb7b9a5b29bce.tar.xz
yuzu-2e9a810423ef36178ac3947f8feeb7b9a5b29bce.tar.zst
yuzu-2e9a810423ef36178ac3947f8feeb7b9a5b29bce.zip
Diffstat (limited to 'src/video_core/shader/ast.h')
-rw-r--r--src/video_core/shader/ast.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/shader/ast.h b/src/video_core/shader/ast.h
index 12db336df..1b73f301f 100644
--- a/src/video_core/shader/ast.h
+++ b/src/video_core/shader/ast.h
@@ -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{};