i965/vs: Add instruction scheduling. 11/6411/1
authorEric Anholt <eric@anholt.net>
Sat, 1 Dec 2012 00:13:34 +0000 (16:13 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 2 May 2013 22:54:47 +0000 (15:54 -0700)
commit573d8813fdbb116f4500d2044c56d80aab73ab7f
tree2399c596bf7221178edfd3a6ab0c5b1081c6e274
parent3b00a6acacd3b97cfb729289208cc580a6b0f7e0
i965/vs: Add instruction scheduling.

While this is ignorant of dependency control, it's still good for a 0.39%
+/- 0.08% performance improvement on GLBenchmark 2.7 (n=548)

v2: Rewrite as a subclass of the base class for the FS instruction
    scheduler, inheriting the same latency information.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp
src/mesa/drivers/dri/i965/brw_vec4.cpp
src/mesa/drivers/dri/i965/brw_vec4.h