From 29fa1d7f251999b3c78dc689b9e58e3409b0e3aa Mon Sep 17 00:00:00 2001 From: Job Noorman Date: Mon, 5 Feb 2024 12:28:40 +0100 Subject: [PATCH] ir3: set reconvergence for scan_clusters.macro The introduction of block::reconvergence_point happened at the same time as scan_clusters.macro so we forgot to set it correctly. Fixes: 60413e11c2b ("ir3: optimize subgroup operations using brcst.active") Signed-off-by: Job Noorman Part-of: --- src/freedreno/ir3/ir3_lower_subgroups.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/freedreno/ir3/ir3_lower_subgroups.c b/src/freedreno/ir3/ir3_lower_subgroups.c index 91b99b7df65..d95d7fcb7a8 100644 --- a/src/freedreno/ir3/ir3_lower_subgroups.c +++ b/src/freedreno/ir3/ir3_lower_subgroups.c @@ -344,6 +344,9 @@ lower_instr(struct ir3 *ir, struct ir3_block **block, struct ir3_instruction *in struct ir3_block *store = ir3_block_create(ir); list_add(&store->node, &body->node); + body->reconvergence_point = true; + after_block->reconvergence_point = true; + link_blocks(before_block, body, 0); link_blocks(body, store, 0);