summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/frontend/maxwell/translate/impl/common_funcs.h
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2021-07-13 01:56:14 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:40 +0200
commitfc7bed21b539aac4fdde74a41217066eaf8ed3f9 (patch)
treeb76c4c93772f468d44e065cb3cae468060454b08 /src/shader_recompiler/frontend/maxwell/translate/impl/common_funcs.h
parentshader: Avoid usage of C++20 ranges to build in clang (diff)
downloadyuzu-fc7bed21b539aac4fdde74a41217066eaf8ed3f9.tar
yuzu-fc7bed21b539aac4fdde74a41217066eaf8ed3f9.tar.gz
yuzu-fc7bed21b539aac4fdde74a41217066eaf8ed3f9.tar.bz2
yuzu-fc7bed21b539aac4fdde74a41217066eaf8ed3f9.tar.lz
yuzu-fc7bed21b539aac4fdde74a41217066eaf8ed3f9.tar.xz
yuzu-fc7bed21b539aac4fdde74a41217066eaf8ed3f9.tar.zst
yuzu-fc7bed21b539aac4fdde74a41217066eaf8ed3f9.zip
Diffstat (limited to 'src/shader_recompiler/frontend/maxwell/translate/impl/common_funcs.h')
-rw-r--r--src/shader_recompiler/frontend/maxwell/translate/impl/common_funcs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/common_funcs.h b/src/shader_recompiler/frontend/maxwell/translate/impl/common_funcs.h
index f584060b3..214d0af3c 100644
--- a/src/shader_recompiler/frontend/maxwell/translate/impl/common_funcs.h
+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/common_funcs.h
@@ -11,6 +11,10 @@ namespace Shader::Maxwell {
[[nodiscard]] IR::U1 IntegerCompare(IR::IREmitter& ir, const IR::U32& operand_1,
const IR::U32& operand_2, CompareOp compare_op, bool is_signed);
+[[nodiscard]] IR::U1 ExtendedIntegerCompare(IR::IREmitter& ir, const IR::U32& operand_1,
+ const IR::U32& operand_2, CompareOp compare_op,
+ bool is_signed);
+
[[nodiscard]] IR::U1 PredicateCombine(IR::IREmitter& ir, const IR::U1& predicate_1,
const IR::U1& predicate_2, BooleanOp bop);