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_dump.c | |
parent | 8fb55dab783f2de5111e7440093e1458fce5fb3d (diff) |
trace: Dump format names.
Diffstat (limited to 'src/gallium/drivers/trace/tr_dump.c')
-rw-r--r-- | src/gallium/drivers/trace/tr_dump.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/drivers/trace/tr_dump.c b/src/gallium/drivers/trace/tr_dump.c index 0591b9fc336..359a903ab91 100644 --- a/src/gallium/drivers/trace/tr_dump.c +++ b/src/gallium/drivers/trace/tr_dump.c @@ -280,6 +280,14 @@ void trace_dump_string(struct trace_stream *stream, trace_dump_write(stream, "</string>"); } +void trace_dump_enum(struct trace_stream *stream, + const char *value) +{ + trace_dump_write(stream, "<enum>"); + trace_dump_escape(stream, value); + trace_dump_write(stream, "</enum>"); +} + void trace_dump_array_begin(struct trace_stream *stream) { trace_dump_write(stream, "<array>"); |