summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/trace/tr_dump.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/trace/tr_dump.h')
-rw-r--r--src/gallium/drivers/trace/tr_dump.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/drivers/trace/tr_dump.h b/src/gallium/drivers/trace/tr_dump.h
index f0864865912..0be0812ce81 100644
--- a/src/gallium/drivers/trace/tr_dump.h
+++ b/src/gallium/drivers/trace/tr_dump.h
@@ -91,6 +91,13 @@ void trace_dump_ptr(struct trace_stream *stream, const void *value);
trace_dump_array_end(_stream); \
} while(0)
+#define trace_dump_arg_array(_stream, _type, _arg, _size) \
+ do { \
+ trace_dump_arg_begin(_stream, #_arg); \
+ trace_dump_array(_stream, _type, _arg, _size); \
+ trace_dump_arg_end(_stream); \
+ } while(0)
+
#define trace_dump_member(_stream, _type, _obj, _member) \
do { \
trace_dump_member_begin(_stream, #_member); \