diff options
author | Eric Anholt <eric@anholt.net> | 2012-08-27 09:24:56 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2012-09-07 08:29:49 -0700 |
commit | 7b3fe776e2950d1cbaadc2fe69eb43b102a84ba9 (patch) | |
tree | d3aaf52579b86df03f9740e372545f64f96c5cc0 /src/mesa/drivers/dri/i965/brw_vs.h | |
parent | f144b78dfbb97a70121be6f20d10bad8111267e3 (diff) | |
download | external_mesa3d-7b3fe776e2950d1cbaadc2fe69eb43b102a84ba9.zip external_mesa3d-7b3fe776e2950d1cbaadc2fe69eb43b102a84ba9.tar.gz external_mesa3d-7b3fe776e2950d1cbaadc2fe69eb43b102a84ba9.tar.bz2 |
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>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vs.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vs.h b/src/mesa/drivers/dri/i965/brw_vs.h index e69a713..307e8e7 100644 --- a/src/mesa/drivers/dri/i965/brw_vs.h +++ b/src/mesa/drivers/dri/i965/brw_vs.h @@ -125,5 +125,6 @@ void brw_vs_debug_recompile(struct brw_context *brw, const struct brw_vs_prog_key *key); bool brw_vs_prog_data_compare(const void *a, const void *b, int aux_size, const void *key); +void brw_vs_prog_data_free(const void *in_prog_data); #endif |