i965/fs: Delay setup of uniform loads until after pre-regalloc scheduling.
authorEric Anholt <eric@anholt.net>
Sat, 16 Feb 2013 03:26:48 +0000 (19:26 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 19 Feb 2013 18:33:32 +0000 (10:33 -0800)
commitaebd3f46e305829ebfcc817cafa8592edc2f80ab
tree4f302b1e1cb26b1c663c243e4f34be495964b590
parent49bdebad3857bb9ebac53f593d08f0057f5a20d3
i965/fs: Delay setup of uniform loads until after pre-regalloc scheduling.

This should fix the register allocation explosion on the GLES 3.0 test
on gen6.  It also gives us an instruction that will fit our CSE handling.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
NOTE: This is a candidate for the 9.1 branch.
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp