trace: Dump pipe_{depth,stencil,alpha}_state names.
authorJosé Fonseca <jrfonseca@tungstengraphics.com>
Mon, 11 Aug 2008 15:56:08 +0000 (16:56 +0100)
committerJosé Fonseca <jrfonseca@tungstengraphics.com>
Tue, 12 Aug 2008 10:34:41 +0000 (11:34 +0100)
src/gallium/drivers/trace/tr_state.c

index 3c7b007bfeceb60d88707b2fadee7eb7e6ad14c3..961705b9eec410ed06c722a86c58f7768fc78b35 100644 (file)
@@ -277,7 +277,7 @@ void trace_dump_depth_stencil_alpha_state(struct trace_stream *stream,
    trace_dump_struct_begin(stream, "pipe_depth_stencil_alpha_state");
 
    trace_dump_member_begin(stream, "depth");
-   trace_dump_struct_begin(stream, "");
+   trace_dump_struct_begin(stream, "pipe_depth_state");
    trace_dump_member(stream, bool, &state->depth, enabled);
    trace_dump_member(stream, bool, &state->depth, writemask);
    trace_dump_member(stream, uint, &state->depth, func);
@@ -289,7 +289,7 @@ void trace_dump_depth_stencil_alpha_state(struct trace_stream *stream,
    trace_dump_array_begin(stream);
    for(i = 0; i < Elements(state->stencil); ++i) {
       trace_dump_elem_begin(stream);
-      trace_dump_struct_begin(stream, "");
+      trace_dump_struct_begin(stream, "pipe_stencil_state");
       trace_dump_member(stream, bool, &state->stencil[i], enabled);
       trace_dump_member(stream, uint, &state->stencil[i], func);
       trace_dump_member(stream, uint, &state->stencil[i], fail_op);
@@ -305,7 +305,7 @@ void trace_dump_depth_stencil_alpha_state(struct trace_stream *stream,
    trace_dump_member_end(stream);
 
    trace_dump_member_begin(stream, "alpha");
-   trace_dump_struct_begin(stream, "");
+   trace_dump_struct_begin(stream, "pipe_alpha_state");
    trace_dump_member(stream, bool, &state->alpha, enabled);
    trace_dump_member(stream, uint, &state->alpha, func);
    trace_dump_member(stream, float, &state->alpha, ref);