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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user