mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 01:38:06 +02:00
aco: Don't add soffset to swizzled MUBUF base.
No Fossil DB changes on Rembrandt (GFX10.3). Signed-off-by: Timur Kristóf <timur.kristof@gmail.com> Reviewed-by: Rhys Perry <pendingchaos02@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21930>
This commit is contained in:
parent
1d0cc57086
commit
b3933ffe60
1 changed files with 1 additions and 1 deletions
|
|
@ -1481,7 +1481,7 @@ label_instruction(opt_ctx& ctx, aco_ptr<Instruction>& instr)
|
|||
mubuf.offset += offset;
|
||||
continue;
|
||||
} else if (i == 2 && parse_base_offset(ctx, instr.get(), i, &base, &offset, true) &&
|
||||
base.regClass() == s1 && mubuf.offset + offset < 4096) {
|
||||
base.regClass() == s1 && mubuf.offset + offset < 4096 && !mubuf.swizzled) {
|
||||
instr->operands[i].setTemp(base);
|
||||
mubuf.offset += offset;
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue