diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-04-10 08:44:05 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:26 +0200 |
commit | 094da34456bbf56353211b47fcb227c09637aa15 (patch) | |
tree | 0988d65d284b4be7a2f525c720546a3bd4565715 /src/shader_recompiler/frontend | |
parent | shader: Address feedback + clang format (diff) | |
download | yuzu-094da34456bbf56353211b47fcb227c09637aa15.tar yuzu-094da34456bbf56353211b47fcb227c09637aa15.tar.gz yuzu-094da34456bbf56353211b47fcb227c09637aa15.tar.bz2 yuzu-094da34456bbf56353211b47fcb227c09637aa15.tar.lz yuzu-094da34456bbf56353211b47fcb227c09637aa15.tar.xz yuzu-094da34456bbf56353211b47fcb227c09637aa15.tar.zst yuzu-094da34456bbf56353211b47fcb227c09637aa15.zip |
Diffstat (limited to 'src/shader_recompiler/frontend')
-rw-r--r-- | src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_conversion_integer.cpp | 2 |
1 files changed, 1 insertions, 1 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 cf3cf1ba6..3cb896950 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 @@ -193,7 +193,7 @@ void TranslateF2I(TranslatorVisitor& v, u64 insn, const IR::F16F32F64& src_a) { if (bitsize != 64) { result = IR::U32{v.ir.Select(v.ir.FPIsNan(op_a), v.ir.Imm32(0U), result)}; } else { - result = IR::U64{v.ir.Select(v.ir.FPIsNan(op_a), v.ir.Imm64(0UL), result)}; + result = IR::U64{v.ir.Select(v.ir.FPIsNan(op_a), v.ir.Imm64(u64{0}), result)}; } } |