Re: [Mesa-dev] [PATCH 2/3] i965: Make the param pointer arrays for the WM dynamically sized.

2012-08-28 Thread Eric Anholt
Kenneth Graunke kenn...@whitecape.org writes: On 08/27/2012 10:49 AM, Eric Anholt wrote: Saves 26.5MB of wasted memory allocation in the l4d2 demo. --- src/mesa/drivers/dri/i965/brw_context.h | 15 --- src/mesa/drivers/dri/i965/brw_fs.cpp|2 --

[Mesa-dev] [PATCH 2/3] i965: Make the param pointer arrays for the WM dynamically sized.

2012-08-27 Thread Eric Anholt
Saves 26.5MB of wasted memory allocation in the l4d2 demo. --- src/mesa/drivers/dri/i965/brw_context.h | 15 --- src/mesa/drivers/dri/i965/brw_fs.cpp|2 -- src/mesa/drivers/dri/i965/brw_state_cache.c |7 + src/mesa/drivers/dri/i965/brw_wm.c | 38

Re: [Mesa-dev] [PATCH 2/3] i965: Make the param pointer arrays for the WM dynamically sized.

2012-08-27 Thread Stéphane Marchesin
On Mon, Aug 27, 2012 at 2:48 PM, Kenneth Graunke kenn...@whitecape.org wrote: On 08/27/2012 10:49 AM, Eric Anholt wrote: Saves 26.5MB of wasted memory allocation in the l4d2 demo. --- src/mesa/drivers/dri/i965/brw_context.h | 15 --- src/mesa/drivers/dri/i965/brw_fs.cpp