shader_recompiler: Set correct operand field for VOP3b sdst.

This commit is contained in:
squidbus 2024-10-10 13:03:04 -07:00
parent 0df0d0cb66
commit 6b5f825066

View File

@ -654,7 +654,7 @@ void GcnDecodeContext::decodeInstructionVOP3(uint64_t hexInstruction) {
OpcodeVOP3 vop3Op = static_cast<OpcodeVOP3>(op); OpcodeVOP3 vop3Op = static_cast<OpcodeVOP3>(op);
if (IsVop3BEncoding(m_instruction.opcode)) { if (IsVop3BEncoding(m_instruction.opcode)) {
m_instruction.dst[1].field = OperandField::ScalarGPR; m_instruction.dst[1].field = getOperandField(sdst);
m_instruction.dst[1].type = ScalarType::Uint64; m_instruction.dst[1].type = ScalarType::Uint64;
m_instruction.dst[1].code = sdst; m_instruction.dst[1].code = sdst;
} else { } else {