Browse Source
Merge pull request #2108 from FernandoS27/fix-cc
Fix incorrect value for CC bit in IADD
pull/15/merge
bunnei
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
src/video_core/shader/decode/arithmetic_integer.cpp
|
|
|
@ -41,7 +41,7 @@ u32 ShaderIR::DecodeArithmeticInteger(NodeBlock& bb, u32 pc) { |
|
|
|
|
|
|
|
const Node value = Operation(OperationCode::IAdd, PRECISE, op_a, op_b); |
|
|
|
|
|
|
|
SetInternalFlagsFromInteger(bb, value, instr.op_32.generates_cc); |
|
|
|
SetInternalFlagsFromInteger(bb, value, instr.generates_cc); |
|
|
|
SetRegister(bb, instr.gpr0, value); |
|
|
|
break; |
|
|
|
} |
|
|
|
@ -284,4 +284,4 @@ void ShaderIR::WriteLop3Instruction(NodeBlock& bb, Register dest, Node op_a, Nod |
|
|
|
SetRegister(bb, dest, value); |
|
|
|
} |
|
|
|
|
|
|
|
} // namespace VideoCommon::Shader
|
|
|
|
} // namespace VideoCommon::Shader
|