aco: remove Format::{VOP3A,VOP3B}
These are really the same as Format::VOP3. Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Daniel Schürmann <daniel@schuermann.dev> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8595>
This commit is contained in:
@@ -563,8 +563,8 @@ void emit_instruction(asm_context& ctx, std::vector<uint32_t>& out, Instruction*
|
||||
unreachable("Pseudo instructions should be lowered before assembly.");
|
||||
break;
|
||||
default:
|
||||
if ((uint16_t) instr->format & (uint16_t) Format::VOP3A) {
|
||||
VOP3A_instruction* vop3 = static_cast<VOP3A_instruction*>(instr);
|
||||
if ((uint16_t) instr->format & (uint16_t) Format::VOP3) {
|
||||
VOP3_instruction* vop3 = static_cast<VOP3_instruction*>(instr);
|
||||
|
||||
if ((uint16_t) instr->format & (uint16_t) Format::VOP2) {
|
||||
opcode = opcode + 0x100;
|
||||
|
||||
Reference in New Issue
Block a user