Re: [Mesa-dev] [PATCH] trace: remove useless MALLOC() in trace_context_draw_vbo()

2016-02-07 Thread Samuel Pitoiset
On 02/07/2016 10:54 PM, Ilia Mirkin wrote: Reviewed-by: Ilia Mirkin Please double-check that GALLIUM_TRACE=foo and bin/arb_indirect_parameters-tf-count -fbo -auto work together. I have already double-checked with bin/arb_draw_indirect-draw-arrays. Both tests work fine, and the trace looks g

Re: [Mesa-dev] [PATCH] trace: remove useless MALLOC() in trace_context_draw_vbo()

2016-02-07 Thread Ilia Mirkin
Reviewed-by: Ilia Mirkin Please double-check that GALLIUM_TRACE=foo and bin/arb_indirect_parameters-tf-count -fbo -auto work together. On Sun, Feb 7, 2016 at 4:36 PM, Samuel Pitoiset wrote: > There is no need to allocate memory when unwrapping the indirect buf. > > Signed-off-by: Samuel Pitoise

[Mesa-dev] [PATCH] trace: remove useless MALLOC() in trace_context_draw_vbo()

2016-02-07 Thread Samuel Pitoiset
There is no need to allocate memory when unwrapping the indirect buf. Signed-off-by: Samuel Pitoiset --- src/gallium/drivers/trace/tr_context.c | 17 ++--- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/src/gallium/drivers/trace/tr_context.c b/src/gallium/drivers/tra