trace: No need to dump reference counts.
authorJosé Fonseca <jfonseca@vmware.com>
Sun, 14 Feb 2010 23:25:01 +0000 (23:25 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Sun, 14 Feb 2010 23:25:34 +0000 (23:25 +0000)
src/gallium/drivers/trace/tr_dump_state.c

index 7cbf705287580bf4536af3f0198cf281d77fc021..ee6a6e75370f3cd6c5e51cd969938f792ff99c6c 100644 (file)
@@ -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);