summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-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) {
142 throw NotImplementedException("Invalid F2I rounding {}", f2i.rounding.Value()); 142 throw NotImplementedException("Invalid F2I rounding {}", f2i.rounding.Value());
143 } 143 }
144 }()}; 144 }()};
145
146 // TODO: Handle out of bounds conversions.
147 // For example converting F32 65537.0 to U16, the expected value is 0xffff,
148
149 const bool is_signed{f2i.is_signed != 0}; 145 const bool is_signed{f2i.is_signed != 0};
150 const auto [max_bound, min_bound] = ClampBounds(f2i.dest_format, is_signed); 146 const auto [max_bound, min_bound] = ClampBounds(f2i.dest_format, is_signed);
151 147