i965/fs: Add an instruction scheduler.
authorEric Anholt <eric@anholt.net>
Wed, 19 Jan 2011 01:16:49 +0000 (17:16 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 20 Jan 2011 00:29:11 +0000 (16:29 -0800)
commit63879d90ace519749fed228ca0e21b5b56c7e1c0
treeaa188e6012a39f6fd2fb67e419cdbf49b66e401e
parent3f2fe31eee1667ef9cad99aaad69e52a09c9effa
i965/fs: Add an instruction scheduler.

Improves performance of my GLSL demo by 5.1% (+/- 1.4%, n=7).  It also
reschedules the giant multiply tree at the end of
glsl-fs-convolution-1 so that we end up not spilling registers,
producing the expected level of performance.
src/mesa/drivers/dri/i965/Makefile
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_fs_schedule_instructions.cpp [new file with mode: 0644]