[965] Improve pinterp performance by delaying reads of just-written regs.

This commit is contained in:
Michal Wajdeczko 2008-03-21 13:48:12 -07:00 committed by Eric Anholt
parent 6c1a98e97a
commit bb419970ef
1 changed files with 4 additions and 0 deletions

View File

@ -223,6 +223,10 @@ static void emit_pinterp( struct brw_compile *p,
if (mask & (1<<i)) {
brw_LINE(p, brw_null_reg(), interp[i], deltas[0]);
brw_MAC(p, dst[i], suboffset(interp[i],1), deltas[1]);
}
}
for(i = 0; i < 4; i++ ) {
if (mask & (1<<i)) {
brw_MUL(p, dst[i], dst[i], w[3]);
}
}