diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_compare.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_compare.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_compare.cpp index 80109ca0e..7127ebf54 100644 --- a/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_compare.cpp +++ b/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_compare.cpp | |||
| @@ -49,7 +49,7 @@ void TranslatorVisitor::FCMP_imm(u64 insn) { | |||
| 49 | const u32 sign_bit{fcmp.is_negative != 0 ? (1U << 31) : 0}; | 49 | const u32 sign_bit{fcmp.is_negative != 0 ? (1U << 31) : 0}; |
| 50 | const u32 value{static_cast<u32>(fcmp.value) << 12}; | 50 | const u32 value{static_cast<u32>(fcmp.value) << 12}; |
| 51 | 51 | ||
| 52 | FCMP(*this, insn, ir.Imm32(value), GetFloatReg39(insn)); | 52 | FCMP(*this, insn, ir.Imm32(value | sign_bit), GetFloatReg39(insn)); |
| 53 | } | 53 | } |
| 54 | 54 | ||
| 55 | } // namespace Shader::Maxwell | 55 | } // namespace Shader::Maxwell |