gl_shader_decompiler: Implement MOV32_IMM instruction.

This commit is contained in:
bunnei 2018-04-26 23:21:17 -04:00
parent 3d9126ba87
commit a7b5ab4d9a
2 changed files with 7 additions and 2 deletions

View file

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