i965: Make the param pointer arrays for the VS dynamically sized.
authorEric Anholt <eric@anholt.net>
Mon, 27 Aug 2012 16:24:56 +0000 (09:24 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 7 Sep 2012 15:29:49 +0000 (08:29 -0700)
commit7b3fe776e2950d1cbaadc2fe69eb43b102a84ba9
treed3aaf52579b86df03f9740e372545f64f96c5cc0
parentf144b78dfbb97a70121be6f20d10bad8111267e3
i965: Make the param pointer arrays for the VS dynamically sized.

Saves 96MB of wasted memory in the l4d2 demo.

v2: Rebase on compare func change, change brace style.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_state_cache.c
src/mesa/drivers/dri/i965/brw_vs.c
src/mesa/drivers/dri/i965/brw_vs.h