diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-03-16 00:57:07 -0400 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-22 21:51:23 -0400 |
commit | fa2f6e38f4d465ba6e5efe6c6bd23d8ef39b080d (patch) | |
tree | df19f729a6814bcdb9bd59446e87971642053da1 /src/shader_recompiler/frontend/maxwell/translate/impl/impl.h | |
parent | 17a82b56d74afcebaad78ce4754d8ee99ea66f93 (diff) |
shader: Implement FSET and FSETP
Also fix oversight with adding SignedZeroInfNanPreserve execution mode.
Diffstat (limited to 'src/shader_recompiler/frontend/maxwell/translate/impl/impl.h')
-rw-r--r-- | src/shader_recompiler/frontend/maxwell/translate/impl/impl.h | 19 |
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 45d6f5e060..761b646669 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) {} |