summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/freedreno/ir3/ir3_legalize.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/freedreno/ir3/ir3_legalize.c b/src/freedreno/ir3/ir3_legalize.c
index c39b3a11011..e1ca1ada2c5 100644
--- a/src/freedreno/ir3/ir3_legalize.c
+++ b/src/freedreno/ir3/ir3_legalize.c
@@ -306,6 +306,11 @@ legalize_block(struct ir3_legalize_ctx *ctx, struct ir3_block *block)
list_add(&baryf->node, &last_input->node);
last_input = baryf;
+
+ /* by definition, we need (ss) since we are inserting
+ * the dummy bary.f immediately after the ldlv:
+ */
+ last_input_needs_ss = true;
}
last_input->regs[0]->flags |= IR3_REG_EI;
if (last_input_needs_ss)