i965: Pack the tracked state atoms into separate arrays for prepare/emit.
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 8 Mar 2011 00:43:45 +0000 (16:43 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 9 Mar 2011 18:18:29 +0000 (10:18 -0800)
commitea004a3aed89ec02bb5f2356479cd038d41f73c1
tree0e248affda5d7eb86411b5ecb4d987d95eca245a
parentcaaa7fdd6f8bb6f38bf555de79bd3cfd7ac9c715
i965: Pack the tracked state atoms into separate arrays for prepare/emit.

Improves performance of a hacked-up scissor-many (to reuse a small set
of scissors instead of blowing out the cache, and then to run 100x
more iterations so it actually took some time) by 3.6% +/- 1.2% (n=10)
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_state_upload.c