summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@tungstengraphics.com>2008-08-11 16:56:08 +0100
committerJosé Fonseca <jrfonseca@tungstengraphics.com>2008-08-12 11:34:41 +0100
commit166b939d523a8683f1aee819f73e002e627a49ba (patch)
treecc6de81cce9cd077dc6b355a11404ad04093b2fa
parentca826d79a64d46e7f3bffff22640f148c044cdad (diff)
trace: Dump pipe_{depth,stencil,alpha}_state names.
-rw-r--r--src/gallium/drivers/trace/tr_state.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/trace/tr_state.c b/src/gallium/drivers/trace/tr_state.c
index 3c7b007bfe..961705b9ee 100644
--- a/src/gallium/drivers/trace/tr_state.c
+++ b/src/gallium/drivers/trace/tr_state.c
@@ -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);