summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/frontend/ir/ir_emitter.h
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2021-02-25 06:46:40 +0100
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:22 +0200
commitcc55d289494c991e7e0e456e428a110569708c2e (patch)
tree36e869098e87528ab7b7f668e232d7e909a2258a /src/shader_recompiler/frontend/ir/ir_emitter.h
parentshader: Implement SEL (diff)
downloadyuzu-cc55d289494c991e7e0e456e428a110569708c2e.tar
yuzu-cc55d289494c991e7e0e456e428a110569708c2e.tar.gz
yuzu-cc55d289494c991e7e0e456e428a110569708c2e.tar.bz2
yuzu-cc55d289494c991e7e0e456e428a110569708c2e.tar.lz
yuzu-cc55d289494c991e7e0e456e428a110569708c2e.tar.xz
yuzu-cc55d289494c991e7e0e456e428a110569708c2e.tar.zst
yuzu-cc55d289494c991e7e0e456e428a110569708c2e.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 2c923716a..f7998e156 100644
--- a/src/shader_recompiler/frontend/ir/ir_emitter.h
+++ b/src/shader_recompiler/frontend/ir/ir_emitter.h
@@ -159,6 +159,7 @@ public:
const U32& count);
[[nodiscard]] U32 BitFieldExtract(const U32& base, const U32& offset, const U32& count,
bool is_signed);
+ [[nodiscard]] U32 BitReverse(const U32& value);
[[nodiscard]] U1 ILessThan(const U32& lhs, const U32& rhs, bool is_signed);
[[nodiscard]] U1 IEqual(const U32& lhs, const U32& rhs);