aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/trace/tr_dump.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/trace/tr_dump.c')
-rw-r--r--src/gallium/drivers/trace/tr_dump.c8
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>");