i965/fs: Stop trying to hack around MRF dep chains on gen7+ LIFO scheduling.
authorEric Anholt <eric@anholt.net>
Tue, 22 Oct 2013 19:38:14 +0000 (12:38 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 25 Oct 2013 23:45:30 +0000 (16:45 -0700)
commit93bd627d5a6c485948b94488e6cd53a06b7ebdcf
treea74dac2046711ba4dda620e0337b0b4e30d01448
parentc3c9a8c85758796a26b48e484286e6b6f5a5299a
i965/fs: Stop trying to hack around MRF dep chains on gen7+ LIFO scheduling.

This was a hack to avoid choosing to schedule all texturing before
consumption of any texture results due to the way dependency chains worked
out in the presence of MRFs.  On gen7, we don't have MRFs, so the problem
doesn't apply, and this was just badly constraining our scheduling.

total instructions in shared programs: 1615306 -> 1612534 (-0.17%)
instructions in affected programs:     9958 -> 7186 (-27.84%)
GAINED:                                259
LOST:                                  9

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp