From d422310498f10bcf59c69faf04d8d4588303efc0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Sun, 14 Feb 2010 23:25:01 +0000 Subject: [PATCH] trace: No need to dump reference counts. --- src/gallium/drivers/trace/tr_dump_state.c | 13 ------------- 1 file changed, 13 deletions(-) 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); -- 2.30.2