Re: [Mesa-dev] [PATCH] i965: Fix slow leak of brw->wm.compile_data->store

2012-11-08 Thread Eric Anholt
Kenneth Graunke writes: > On 11/06/2012 10:47 AM, Eric Anholt wrote: >> We were successfully freeing our compile data at context destroy, but until >> then we were allocating a new store every compile without freeing it. >> /* Allocate the references to the uniforms that will end up in the

Re: [Mesa-dev] [PATCH] i965: Fix slow leak of brw->wm.compile_data->store

2012-11-07 Thread Kenneth Graunke
On 11/06/2012 10:47 AM, Eric Anholt wrote: We were successfully freeing our compile data at context destroy, but until then we were allocating a new store every compile without freeing it. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=56019 --- src/mesa/drivers/dri/i965/brw_context.h

[Mesa-dev] [PATCH] i965: Fix slow leak of brw->wm.compile_data->store

2012-11-06 Thread Eric Anholt
We were successfully freeing our compile data at context destroy, but until then we were allocating a new store every compile without freeing it. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=56019 --- src/mesa/drivers/dri/i965/brw_context.h |1 - src/mesa/drivers/dri/i965/brw_vtbl.c