i965/fs: remove special case in setup_payload_interference()
authorConnor Abbott <cwabbott0@gmail.com>
Tue, 30 Jun 2015 20:38:20 +0000 (13:38 -0700)
committerConnor Abbott <connor.w.abbott@intel.com>
Fri, 17 Jul 2015 17:10:51 +0000 (10:10 -0700)
commit18e73bf7f8b12022e02db3230ee109657581900b
tree2f708f75fc42a28d07f32b467ba9f481028b2d61
parentc4a2217e79ac78c59cec3eb97542ceb819f92a44
i965/fs: remove special case in setup_payload_interference()

regs_read() will handle LINTERP for us since the previous commit. In
addition, we were being too conservative, since it will only read 2
registers on SIMD8.

instructions in affected programs:     9061 -> 8893 (-1.85%)
helped:                                10
HURT:                                  0
GAINED:                                0
LOST:                                  0

All of the changes were due to spills being eliminated, mostly in KSP
shaders.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Signed-off-by: Connor Abbott <connor.w.abbott@intel.com>
src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp