From: José Fonseca Date: Sun, 14 Feb 2010 23:25:01 +0000 (+0000) Subject: trace: No need to dump reference counts. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d422310498f10bcf59c69faf04d8d4588303efc0;p=mesa.git trace: No need to dump reference counts. --- diff --git a/src/gallium/drivers/trace/tr_dump_state.c b/src/gallium/drivers/trace/tr_dump_state.c index 7cbf7052875..ee6a6e75370 100644 --- a/src/gallium/drivers/trace/tr_dump_state.c +++ b/src/gallium/drivers/trace/tr_dump_state.c @@ -44,17 +44,6 @@ void trace_dump_format(enum pipe_format format) } -static void trace_dump_reference(const struct pipe_reference *reference) -{ - if (!trace_dumping_enabled_locked()) - return; - - trace_dump_struct_begin("pipe_reference"); - trace_dump_member(int, reference, count); - trace_dump_struct_end(); -} - - void trace_dump_template(const struct pipe_texture *templat) { if (!trace_dumping_enabled_locked()) @@ -447,8 +436,6 @@ void trace_dump_surface(const struct pipe_surface *state) trace_dump_struct_begin("pipe_surface"); - trace_dump_reference(&state->reference); - trace_dump_member(format, state, format); trace_dump_member(uint, state, width); trace_dump_member(uint, state, height);