mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
freedreno/ir3: 'keeps' need neighbors found too
This shows up with a glamor shader, which does a TXF and uses the result for conditional kill. Before we wouldn't group the fanin (collect) neighbors which need to be allocated adjacently at RA, resulting in badness. Signed-off-by: Rob Clark <robclark@freedesktop.org>
This commit is contained in:
parent
6e04020dd7
commit
aab3912f21
1 changed files with 5 additions and 0 deletions
|
|
@ -236,6 +236,11 @@ find_neighbors(struct ir3 *ir)
|
|||
instr_find_neighbors(instr);
|
||||
}
|
||||
}
|
||||
|
||||
for (i = 0; i < ir->keeps_count; i++) {
|
||||
struct ir3_instruction *instr = ir->keeps[i];
|
||||
instr_find_neighbors(instr);
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue