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:
Rob Clark 2015-08-11 16:11:04 -04:00
parent 6e04020dd7
commit aab3912f21

View file

@ -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