summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/frontend/maxwell/translate
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-04-10 08:52:49 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:27 +0200
commit8cea39b5a63b350f7c6334b91b9d7e2b30bd61bf (patch)
tree6745614a0bcc8d54e3b237213f6ff974c1737bc5 /src/shader_recompiler/frontend/maxwell/translate
parentshader: Implement SULD and SUST (diff)
downloadyuzu-8cea39b5a63b350f7c6334b91b9d7e2b30bd61bf.tar
yuzu-8cea39b5a63b350f7c6334b91b9d7e2b30bd61bf.tar.gz
yuzu-8cea39b5a63b350f7c6334b91b9d7e2b30bd61bf.tar.bz2
yuzu-8cea39b5a63b350f7c6334b91b9d7e2b30bd61bf.tar.lz
yuzu-8cea39b5a63b350f7c6334b91b9d7e2b30bd61bf.tar.xz
yuzu-8cea39b5a63b350f7c6334b91b9d7e2b30bd61bf.tar.zst
yuzu-8cea39b5a63b350f7c6334b91b9d7e2b30bd61bf.zip
Diffstat (limited to 'src/shader_recompiler/frontend/maxwell/translate')
-rw-r--r--src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_conversion_integer.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_conversion_integer.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_conversion_integer.cpp
index 3cb896950..92b1ce015 100644
--- a/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_conversion_integer.cpp
+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_conversion_integer.cpp
@@ -142,10 +142,6 @@ void TranslateF2I(TranslatorVisitor& v, u64 insn, const IR::F16F32F64& src_a) {
throw NotImplementedException("Invalid F2I rounding {}", f2i.rounding.Value());
}
}()};
-
- // TODO: Handle out of bounds conversions.
- // For example converting F32 65537.0 to U16, the expected value is 0xffff,
-
const bool is_signed{f2i.is_signed != 0};
const auto [max_bound, min_bound] = ClampBounds(f2i.dest_format, is_signed);