summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/frontend/maxwell/translate/impl/impl.h
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2021-03-16 05:57:07 +0100
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:23 +0200
commitfa2f6e38f4d465ba6e5efe6c6bd23d8ef39b080d (patch)
treedf19f729a6814bcdb9bd59446e87971642053da1 /src/shader_recompiler/frontend/maxwell/translate/impl/impl.h
parentshader: Implement TEXS (diff)
downloadyuzu-fa2f6e38f4d465ba6e5efe6c6bd23d8ef39b080d.tar
yuzu-fa2f6e38f4d465ba6e5efe6c6bd23d8ef39b080d.tar.gz
yuzu-fa2f6e38f4d465ba6e5efe6c6bd23d8ef39b080d.tar.bz2
yuzu-fa2f6e38f4d465ba6e5efe6c6bd23d8ef39b080d.tar.lz
yuzu-fa2f6e38f4d465ba6e5efe6c6bd23d8ef39b080d.tar.xz
yuzu-fa2f6e38f4d465ba6e5efe6c6bd23d8ef39b080d.tar.zst
yuzu-fa2f6e38f4d465ba6e5efe6c6bd23d8ef39b080d.zip
Diffstat (limited to '')
-rw-r--r--src/shader_recompiler/frontend/maxwell/translate/impl/impl.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/impl.h b/src/shader_recompiler/frontend/maxwell/translate/impl/impl.h
index 45d6f5e06..761b64666 100644
--- a/src/shader_recompiler/frontend/maxwell/translate/impl/impl.h
+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/impl.h
@@ -35,6 +35,25 @@ enum class PredicateOp : u64 {
NonZero,
};
+enum class FPCompareOp : u64 {
+ F,
+ LT,
+ EQ,
+ LE,
+ GT,
+ NE,
+ GE,
+ NUM,
+ Nan,
+ LTU,
+ EQU,
+ LEU,
+ GTU,
+ NEU,
+ GEU,
+ T,
+};
+
class TranslatorVisitor {
public:
explicit TranslatorVisitor(Environment& env_, IR::Block& block) : env{env_}, ir(block) {}