diff options
author | Alyssa Rosenzweig <[email protected]> | 2020-05-11 15:02:10 -0400 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-05-21 17:49:14 +0000 |
commit | 21405f6fcfc428af3f2aa9d1bc1c3b10b25a71fa (patch) | |
tree | bdfaab9d9402e8d143f337077c5367bb39e49400 /src | |
parent | 4f5bad649be3914a6965bda97ca275de989bb7c0 (diff) |
pan/mdg: Ignore dest.type when offseting load swizzle
It's always as-if 32-bit.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5151>
Diffstat (limited to 'src')
-rw-r--r-- | src/panfrost/midgard/midgard_ra.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/panfrost/midgard/midgard_ra.c b/src/panfrost/midgard/midgard_ra.c index ecc9d727e2b..d3fbabc77be 100644 --- a/src/panfrost/midgard/midgard_ra.c +++ b/src/panfrost/midgard/midgard_ra.c @@ -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); } |