diff options
author | José Fonseca <[email protected]> | 2008-08-07 19:46:39 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2008-08-07 20:58:09 +0100 |
commit | ce2137a6a4c2648a77b9697a3aa0479c9c61bacc (patch) | |
tree | 5ee987722d79e44d81b696470e059ae011dc4bac /src/gallium/drivers/trace/tr_state.c | |
parent | 8fb55dab783f2de5111e7440093e1458fce5fb3d (diff) |
trace: Dump format names.
Diffstat (limited to 'src/gallium/drivers/trace/tr_state.c')
-rw-r--r-- | src/gallium/drivers/trace/tr_state.c | 4 |
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); |