i965/fs: Enable CSE on uniform pull constant loads.
authorEric Anholt <eric@anholt.net>
Sat, 16 Feb 2013 03:49:32 +0000 (19:49 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 19 Feb 2013 18:34:03 +0000 (10:34 -0800)
commit4c64f65f5d990a83af383790221c242d7195b5a0
tree8be828870d8387cfea64b74c474fb740074e57f9
parentc2a6e529c3bc9e62ad93beb1f5ae427dbbba8a38
i965/fs: Enable CSE on uniform pull constant loads.

Improves on a major performance regression for the dolphin wii emulator
from its move to using UBOs.  Performance in the UBO codepath (as
replayed through apitrace) is up 21.1% +/- 2.3% (n=26/29).

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs_cse.cpp