mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 21:08:11 +02:00
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:
parent
5201985332
commit
acec00eae0
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue