diff options
-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); } |