gl_shader_decompiler: Implement MOV_C.

This commit is contained in:
bunnei 2018-04-29 13:13:13 -04:00
parent 6c464a2a4a
commit a71346cd7c

View File

@ -664,6 +664,11 @@ private:
}
switch (opcode->GetId()) {
case OpCode::Id::MOV_C: {
regs.SetRegisterToFloat(instr.gpr0, 0, op_b, 1, 1);
break;
}
case OpCode::Id::MOV32_IMM: {
// mov32i doesn't have abs or neg bits.
regs.SetRegisterToFloat(instr.gpr0, 0, GetImmediate32(instr), 1, 1);