i965/fs: Do instruction pre-scheduling just before register allocation.
authorEric Anholt <eric@anholt.net>
Thu, 7 Nov 2013 01:43:25 +0000 (17:43 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 12 Nov 2013 23:06:21 +0000 (15:06 -0800)
commitfbd8303a943d0d491b7c2415eb237a0731c7dec5
tree73eec9f58931dab6464f5319c6f823799216223d
parentf72a0d99fed5d6205431a59775484cde3442cceb
i965/fs: Do instruction pre-scheduling just before register allocation.

Long ago, the HW_REG usage in assign_curb/urb_setup() were scheduling
barriers, so we had to run scheduler before them in order for it to be
able to do basically anything.  Now that that's fixed, we can delay the
scheduling until we go to allocate (which will make the next change less
scary).

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