mirror of
https://github.com/yuzu-mirror/yuzu
synced 2024-12-24 08:13:05 +00:00
shader: Fix Windows build issues
This commit is contained in:
parent
5bfcafa0a2
commit
094da34456
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ void TranslateF2I(TranslatorVisitor& v, u64 insn, const IR::F16F32F64& src_a) {
|
||||||
if (bitsize != 64) {
|
if (bitsize != 64) {
|
||||||
result = IR::U32{v.ir.Select(v.ir.FPIsNan(op_a), v.ir.Imm32(0U), result)};
|
result = IR::U32{v.ir.Select(v.ir.FPIsNan(op_a), v.ir.Imm32(0U), result)};
|
||||||
} else {
|
} 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)};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue