diff options
Diffstat (limited to 'src/panfrost/midgard/mir.c')
-rw-r--r-- | src/panfrost/midgard/mir.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/panfrost/midgard/mir.c b/src/panfrost/midgard/mir.c index fbb0120a2b2..c5b7280b40c 100644 --- a/src/panfrost/midgard/mir.c +++ b/src/panfrost/midgard/mir.c @@ -54,10 +54,6 @@ mir_get_swizzle(midgard_instruction *ins, unsigned idx) return (mir_get_alu_src(ins, idx)).swizzle; } else if (ins->type == TAG_LOAD_STORE_4) { - /* Main swizzle of a load is on the destination */ - if (!OP_IS_STORE(ins->load_store.op)) - idx++; - switch (idx) { case 0: return ins->load_store.swizzle; @@ -131,10 +127,6 @@ mir_set_swizzle(midgard_instruction *ins, unsigned idx, unsigned new) else ins->alu.src2 = pack; } else if (ins->type == TAG_LOAD_STORE_4) { - /* Main swizzle of a load is on the destination */ - if (!OP_IS_STORE(ins->load_store.op)) - idx++; - switch (idx) { case 0: ins->load_store.swizzle = new; |