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-28 00:47:00 +0100
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:24 +0200
commit51475e21ba5e9a17730a2b5a868dc73d53db9bc1 (patch)
tree75b91429b808db9640a248e886fcb6cea1cef8e8 /src/shader_recompiler/frontend/ir/ir_emitter.h
parentshader: Add missing I2I exception when CC is used (diff)
downloadyuzu-51475e21ba5e9a17730a2b5a868dc73d53db9bc1.tar
yuzu-51475e21ba5e9a17730a2b5a868dc73d53db9bc1.tar.gz
yuzu-51475e21ba5e9a17730a2b5a868dc73d53db9bc1.tar.bz2
yuzu-51475e21ba5e9a17730a2b5a868dc73d53db9bc1.tar.lz
yuzu-51475e21ba5e9a17730a2b5a868dc73d53db9bc1.tar.xz
yuzu-51475e21ba5e9a17730a2b5a868dc73d53db9bc1.tar.zst
yuzu-51475e21ba5e9a17730a2b5a868dc73d53db9bc1.zip
Diffstat (limited to '')
-rw-r--r--src/shader_recompiler/frontend/ir/ir_emitter.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shader_recompiler/frontend/ir/ir_emitter.h b/src/shader_recompiler/frontend/ir/ir_emitter.h
index 771c186d4..8d50aa607 100644
--- a/src/shader_recompiler/frontend/ir/ir_emitter.h
+++ b/src/shader_recompiler/frontend/ir/ir_emitter.h
@@ -196,8 +196,10 @@ public:
[[nodiscard]] U32 FindUMsb(const U32& value);
[[nodiscard]] U32 SMin(const U32& a, const U32& b);
[[nodiscard]] U32 UMin(const U32& a, const U32& b);
+ [[nodiscard]] U32 IMin(const U32& a, const U32& b, bool is_signed);
[[nodiscard]] U32 SMax(const U32& a, const U32& b);
[[nodiscard]] U32 UMax(const U32& a, const U32& b);
+ [[nodiscard]] U32 IMax(const U32& a, const U32& b, bool is_signed);
[[nodiscard]] U1 ILessThan(const U32& lhs, const U32& rhs, bool is_signed);
[[nodiscard]] U1 IEqual(const U32U64& lhs, const U32U64& rhs);