summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/frontend/ir/ir_emitter.h
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2021-03-17 05:53:53 +0100
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:23 +0200
commit3b7fd3ad0fcb0419c455c16127f43d01b6dc7fc9 (patch)
tree194884a206ae5c4719fa4ddeeca1c3aa45acec36 /src/shader_recompiler/frontend/ir/ir_emitter.h
parentshader: Reorder phi nodes when redefined as undefined opcodes (diff)
downloadyuzu-3b7fd3ad0fcb0419c455c16127f43d01b6dc7fc9.tar
yuzu-3b7fd3ad0fcb0419c455c16127f43d01b6dc7fc9.tar.gz
yuzu-3b7fd3ad0fcb0419c455c16127f43d01b6dc7fc9.tar.bz2
yuzu-3b7fd3ad0fcb0419c455c16127f43d01b6dc7fc9.tar.lz
yuzu-3b7fd3ad0fcb0419c455c16127f43d01b6dc7fc9.tar.xz
yuzu-3b7fd3ad0fcb0419c455c16127f43d01b6dc7fc9.tar.zst
yuzu-3b7fd3ad0fcb0419c455c16127f43d01b6dc7fc9.zip
Diffstat (limited to 'src/shader_recompiler/frontend/ir/ir_emitter.h')
-rw-r--r--src/shader_recompiler/frontend/ir/ir_emitter.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shader_recompiler/frontend/ir/ir_emitter.h b/src/shader_recompiler/frontend/ir/ir_emitter.h
index 27ff5a29d..05263fe8b 100644
--- a/src/shader_recompiler/frontend/ir/ir_emitter.h
+++ b/src/shader_recompiler/frontend/ir/ir_emitter.h
@@ -62,6 +62,7 @@ public:
void SetOFlag(const U1& value);
[[nodiscard]] U1 Condition(IR::Condition cond);
+ [[nodiscard]] U1 GetFlowTestResult(FlowTest test);
[[nodiscard]] F32 GetAttribute(IR::Attribute attribute);
void SetAttribute(IR::Attribute attribute, const F32& value);