mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 15:38:09 +02:00
[965] Improve pinterp performance by delaying reads of just-written regs.
This commit is contained in:
parent
6c1a98e97a
commit
bb419970ef
1 changed files with 4 additions and 0 deletions
|
|
@ -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]);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue