i965: Change the SF unit from state caching to state streaming.
authorEric Anholt <eric@anholt.net>
Wed, 9 Mar 2011 19:11:04 +0000 (11:11 -0800)
committerEric Anholt <eric@anholt.net>
Mon, 11 Apr 2011 18:55:17 +0000 (11:55 -0700)
commitb1be5bd205d3efcaf4012d2c9a12831da57fc7fb
tree21d0b104121ca3cc30fdfcd75e678835f70c2866
parentaaf188e3bbe29826f0fea8944243a416946e7343
i965: Change the SF unit from state caching to state streaming.

This is a 28.1% +/- 1.4% (n=10) performance improvement for the
hacked-up-for-cache-misses scissor-many (n=10), and no statistically
significant wall-time performance difference for the
hacked-up-for-cache-hits version (n=9, first outlier in each removed
since IPS was warming up.  User time increased by about 4.7%, but
kernel time decreased equivalently).
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_misc_state.c
src/mesa/drivers/dri/i965/brw_sf_state.c