summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/frontend/maxwell/translate/impl/double_add.cpp
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2021-03-21 07:09:14 +0100
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:24 +0200
commitc858b8ba97d3ff79dcff0795c1184ee356f2cd1a (patch)
treea6b0c12aebb276c8a475b206941779d8d1af371d /src/shader_recompiler/frontend/maxwell/translate/impl/double_add.cpp
parentshader: Add FP64 register load/store helpers (diff)
downloadyuzu-c858b8ba97d3ff79dcff0795c1184ee356f2cd1a.tar
yuzu-c858b8ba97d3ff79dcff0795c1184ee356f2cd1a.tar.gz
yuzu-c858b8ba97d3ff79dcff0795c1184ee356f2cd1a.tar.bz2
yuzu-c858b8ba97d3ff79dcff0795c1184ee356f2cd1a.tar.lz
yuzu-c858b8ba97d3ff79dcff0795c1184ee356f2cd1a.tar.xz
yuzu-c858b8ba97d3ff79dcff0795c1184ee356f2cd1a.tar.zst
yuzu-c858b8ba97d3ff79dcff0795c1184ee356f2cd1a.zip
Diffstat (limited to 'src/shader_recompiler/frontend/maxwell/translate/impl/double_add.cpp')
-rw-r--r--src/shader_recompiler/frontend/maxwell/translate/impl/double_add.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/double_add.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/double_add.cpp
index 3db09d0c2..ac1433dea 100644
--- a/src/shader_recompiler/frontend/maxwell/translate/impl/double_add.cpp
+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/double_add.cpp
@@ -30,7 +30,7 @@ void DADD(TranslatorVisitor& v, u64 insn, const IR::F64& src_b) {
const IR::F64 op_a{v.ir.FPAbsNeg(src_a, dadd.abs_a != 0, dadd.neg_a != 0)};
const IR::F64 op_b{v.ir.FPAbsNeg(src_b, dadd.abs_b != 0, dadd.neg_b != 0)};
- IR::FpControl control{
+ const IR::FpControl control{
.no_contraction{true},
.rounding{CastFpRounding(dadd.fp_rounding)},
.fmz_mode{IR::FmzMode::None},