summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/trace/tr_state.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/trace/tr_state.c')
-rw-r--r--src/gallium/drivers/trace/tr_state.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/trace/tr_state.c b/src/gallium/drivers/trace/tr_state.c
index f18f5c611ed..f17006dd816 100644
--- a/src/gallium/drivers/trace/tr_state.c
+++ b/src/gallium/drivers/trace/tr_state.c
@@ -36,7 +36,7 @@
void trace_dump_format(struct trace_stream *stream,
enum pipe_format format)
{
- trace_dump_int(stream, format);
+ trace_dump_enum(stream, pf_name(format) );
}
@@ -80,7 +80,7 @@ void trace_dump_template(struct trace_stream *stream,
trace_dump_struct_begin(stream, "pipe_texture");
trace_dump_member(stream, int, templat, target);
- trace_dump_member(stream, int, templat, format);
+ trace_dump_member(stream, format, templat, format);
trace_dump_member_begin(stream, "width");
trace_dump_array(stream, uint, templat->width, 1);