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 21:58:16 +0100
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:23 +0200
commit103b9da4f7115ff47eee52d0dbd31b5b7a18b257 (patch)
tree52e00b1766326559fad61cefa460b6666d2792c9 /src/shader_recompiler/frontend/ir/ir_emitter.h
parentshader: Implement ISET, add common_funcs (diff)
downloadyuzu-103b9da4f7115ff47eee52d0dbd31b5b7a18b257.tar
yuzu-103b9da4f7115ff47eee52d0dbd31b5b7a18b257.tar.gz
yuzu-103b9da4f7115ff47eee52d0dbd31b5b7a18b257.tar.bz2
yuzu-103b9da4f7115ff47eee52d0dbd31b5b7a18b257.tar.lz
yuzu-103b9da4f7115ff47eee52d0dbd31b5b7a18b257.tar.xz
yuzu-103b9da4f7115ff47eee52d0dbd31b5b7a18b257.tar.zst
yuzu-103b9da4f7115ff47eee52d0dbd31b5b7a18b257.zip
Diffstat (limited to '')
-rw-r--r--src/shader_recompiler/frontend/ir/ir_emitter.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/shader_recompiler/frontend/ir/ir_emitter.h b/src/shader_recompiler/frontend/ir/ir_emitter.h
index 00ba2e4cd..03a67985f 100644
--- a/src/shader_recompiler/frontend/ir/ir_emitter.h
+++ b/src/shader_recompiler/frontend/ir/ir_emitter.h
@@ -161,8 +161,10 @@ public:
bool is_signed);
[[nodiscard]] U32 BitReverse(const U32& value);
[[nodiscard]] U32 BitCount(const U32& value);
- [[nodiscard]] U32 BitwiseNot(const U32& a);
+ [[nodiscard]] U32 BitwiseNot(const U32& value);
+ [[nodiscard]] U32 FindSMsb(const U32& value);
+ [[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 SMax(const U32& a, const U32& b);