i965/fs: Ignore actual latency pre-reg-alloc.
authorEric Anholt <eric@anholt.net>
Wed, 6 Nov 2013 07:30:33 +0000 (23:30 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 12 Nov 2013 23:06:00 +0000 (15:06 -0800)
commitf72a0d99fed5d6205431a59775484cde3442cceb
tree6e682275c801e51df8c43fe366d87619e2e21702
parent7c90947a0ba7f61b58a6fd5b94a08587e68d978e
i965/fs: Ignore actual latency pre-reg-alloc.

We care about depth-until-program-end, as a proxy for "make sure I
schedule those early instructions that open up the other things that can
make progress while keeping register pressure low", not actual latency
(since we're relying on the post-register-alloc scheduling to actually
schedule for the hardware).

total instructions in shared programs: 1609931 -> 1609931 (0.00%)
instructions in affected programs:     0 -> 0
GAINED:                                55
LOST:                                  43

Cc: "10.0" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp