diff options
author | FernandoS27 <fsahmkow27@gmail.com> | 2021-04-10 00:29:12 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:27 +0200 |
commit | 1be6705408d1a3454146c705fae3dc55031e966e (patch) | |
tree | 325133fcabd67f3e21fdb4096b5cc8c59875b7ad /src/shader_recompiler/frontend/maxwell/translate/impl/double_min_max.cpp | |
parent | shader: Remove outdated comment in F2I (diff) | |
download | yuzu-1be6705408d1a3454146c705fae3dc55031e966e.tar yuzu-1be6705408d1a3454146c705fae3dc55031e966e.tar.gz yuzu-1be6705408d1a3454146c705fae3dc55031e966e.tar.bz2 yuzu-1be6705408d1a3454146c705fae3dc55031e966e.tar.lz yuzu-1be6705408d1a3454146c705fae3dc55031e966e.tar.xz yuzu-1be6705408d1a3454146c705fae3dc55031e966e.tar.zst yuzu-1be6705408d1a3454146c705fae3dc55031e966e.zip |
Diffstat (limited to 'src/shader_recompiler/frontend/maxwell/translate/impl/double_min_max.cpp')
-rw-r--r-- | src/shader_recompiler/frontend/maxwell/translate/impl/double_min_max.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/double_min_max.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/double_min_max.cpp index 55a224db3..6b551847c 100644 --- a/src/shader_recompiler/frontend/maxwell/translate/impl/double_min_max.cpp +++ b/src/shader_recompiler/frontend/maxwell/translate/impl/double_min_max.cpp @@ -17,10 +17,15 @@ void DMNMX(TranslatorVisitor& v, u64 insn, const IR::F64& src_b) { BitField<42, 1, u64> neg_pred; BitField<45, 1, u64> negate_b; BitField<46, 1, u64> abs_a; + BitField<47, 1, u64> cc; BitField<48, 1, u64> negate_a; BitField<49, 1, u64> abs_b; } const dmnmx{insn}; + if (dmnmx.cc != 0) { + throw NotImplementedException("DMNMX CC"); + } + const IR::U1 pred{v.ir.GetPred(dmnmx.pred)}; const IR::F64 op_a{v.ir.FPAbsNeg(v.D(dmnmx.src_a_reg), dmnmx.abs_a != 0, dmnmx.negate_a != 0)}; const IR::F64 op_b{v.ir.FPAbsNeg(src_b, dmnmx.abs_b != 0, dmnmx.negate_b != 0)}; |