mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-05 14:39:58 +00:00
shader: Remove outdated comment in F2I
This commit is contained in:
parent
7cb2ab3585
commit
8cea39b5a6
1 changed files with 0 additions and 4 deletions
|
@ -142,10 +142,6 @@ void TranslateF2I(TranslatorVisitor& v, u64 insn, const IR::F16F32F64& src_a) {
|
||||||
throw NotImplementedException("Invalid F2I rounding {}", f2i.rounding.Value());
|
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 bool is_signed{f2i.is_signed != 0};
|
||||||
const auto [max_bound, min_bound] = ClampBounds(f2i.dest_format, is_signed);
|
const auto [max_bound, min_bound] = ClampBounds(f2i.dest_format, is_signed);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue