diff options
| author | 2021-04-10 03:44:05 -0300 | |
|---|---|---|
| committer | 2021-07-22 21:51:26 -0400 | |
| commit | 094da34456bbf56353211b47fcb227c09637aa15 (patch) | |
| tree | 0988d65d284b4be7a2f525c720546a3bd4565715 | |
| parent | shader: Address feedback + clang format (diff) | |
| download | yuzu-094da34456bbf56353211b47fcb227c09637aa15.tar.gz yuzu-094da34456bbf56353211b47fcb227c09637aa15.tar.xz yuzu-094da34456bbf56353211b47fcb227c09637aa15.zip | |
shader: Fix Windows build issues
Diffstat (limited to '')
| -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) { | |||
| 193 | if (bitsize != 64) { | 193 | if (bitsize != 64) { |
| 194 | result = IR::U32{v.ir.Select(v.ir.FPIsNan(op_a), v.ir.Imm32(0U), result)}; | 194 | result = IR::U32{v.ir.Select(v.ir.FPIsNan(op_a), v.ir.Imm32(0U), result)}; |
| 195 | } else { | 195 | } else { |
| 196 | result = IR::U64{v.ir.Select(v.ir.FPIsNan(op_a), v.ir.Imm64(0UL), result)}; | 196 | result = IR::U64{v.ir.Select(v.ir.FPIsNan(op_a), v.ir.Imm64(u64{0}), result)}; |
| 197 | } | 197 | } |
| 198 | } | 198 | } |
| 199 | 199 | ||