mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
pan/mdg: Ignore dest.type when offseting load swizzle
It's always as-if 32-bit. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5151>
This commit is contained in:
parent
4f5bad649b
commit
21405f6fcf
1 changed files with 1 additions and 1 deletions
|
|
@ -686,7 +686,7 @@ install_registers_instr(
|
|||
struct phys_reg dst = index_to_reg(ctx, l, ins->dest, dest_size);
|
||||
|
||||
ins->load_store.reg = dst.reg;
|
||||
offset_swizzle(ins->swizzle[0], 0, 4, dst.size, dst.offset);
|
||||
offset_swizzle(ins->swizzle[0], 0, 4, 4, dst.offset);
|
||||
mir_set_bytemask(ins, mir_bytemask(ins) << dst.offset);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue