aco: don't move create_vector subdword operands to unsupported register offsets
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5070>
This commit is contained in:
committed by
Marge Bot
parent
5201985332
commit
acec00eae0
@@ -551,7 +551,7 @@ bool get_regs_for_copies(ra_ctx& ctx,
|
||||
PhysReg reg(def_reg_lo);
|
||||
reg.reg_b += offset;
|
||||
assert(!reg_file.test(reg, var.rc.bytes()));
|
||||
res = {reg, true};
|
||||
res = {reg, reg.byte() == 0 || instr_can_access_subdword(ctx, instr)};
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user