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-01 05:33:53 +0100
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:22 +0200
commit20390c0548d6eef2af67a363ee120a630267b741 (patch)
tree0df880552f80d79c769403f04df5c364397396d1 /src/shader_recompiler/frontend/ir/ir_emitter.h
parentshader: Implement BFI (diff)
downloadyuzu-20390c0548d6eef2af67a363ee120a630267b741.tar
yuzu-20390c0548d6eef2af67a363ee120a630267b741.tar.gz
yuzu-20390c0548d6eef2af67a363ee120a630267b741.tar.bz2
yuzu-20390c0548d6eef2af67a363ee120a630267b741.tar.lz
yuzu-20390c0548d6eef2af67a363ee120a630267b741.tar.xz
yuzu-20390c0548d6eef2af67a363ee120a630267b741.tar.zst
yuzu-20390c0548d6eef2af67a363ee120a630267b741.zip
Diffstat (limited to '')
-rw-r--r--src/shader_recompiler/frontend/ir/ir_emitter.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/shader_recompiler/frontend/ir/ir_emitter.h b/src/shader_recompiler/frontend/ir/ir_emitter.h
index 9dec22145..00ba2e4cd 100644
--- a/src/shader_recompiler/frontend/ir/ir_emitter.h
+++ b/src/shader_recompiler/frontend/ir/ir_emitter.h
@@ -163,6 +163,11 @@ public:
[[nodiscard]] U32 BitCount(const U32& value);
[[nodiscard]] U32 BitwiseNot(const U32& a);
+ [[nodiscard]] U32 SMin(const U32& a, const U32& b);
+ [[nodiscard]] U32 UMin(const U32& a, const U32& b);
+ [[nodiscard]] U32 SMax(const U32& a, const U32& b);
+ [[nodiscard]] U32 UMax(const U32& a, const U32& b);
+
[[nodiscard]] U1 ILessThan(const U32& lhs, const U32& rhs, bool is_signed);
[[nodiscard]] U1 IEqual(const U32& lhs, const U32& rhs);
[[nodiscard]] U1 ILessThanEqual(const U32& lhs, const U32& rhs, bool is_signed);