summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2008-08-12 11:32:42 +0100
committerJosé Fonseca <[email protected]>2008-08-12 11:34:41 +0100
commit4a77fadd102264f1bf2caec3263e193eb831dade (patch)
treeab829fa09b68f9ce4c6a69058dbb1de449f345c3
parent7b8fa937eb9bbc63a59f2db399781c32b20f339f (diff)
trace: More dump fixes.
-rw-r--r--src/gallium/drivers/trace/tr_context.c1
-rw-r--r--src/gallium/drivers/trace/tr_winsys.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/trace/tr_context.c b/src/gallium/drivers/trace/tr_context.c
index 3e098128c96..f82126370cf 100644
--- a/src/gallium/drivers/trace/tr_context.c
+++ b/src/gallium/drivers/trace/tr_context.c
@@ -826,7 +826,6 @@ trace_context_set_vertex_elements(struct pipe_context *_pipe,
trace_dump_arg(stream, ptr, pipe);
trace_dump_arg(stream, uint, num_elements);
- trace_dump_arg(stream, ptr, elements);
trace_dump_arg_begin(stream, "elements");
trace_dump_struct_array(stream, vertex_element, elements, num_elements);
diff --git a/src/gallium/drivers/trace/tr_winsys.c b/src/gallium/drivers/trace/tr_winsys.c
index 0a43f1f7f46..eec84a19816 100644
--- a/src/gallium/drivers/trace/tr_winsys.c
+++ b/src/gallium/drivers/trace/tr_winsys.c
@@ -268,6 +268,8 @@ trace_winsys_buffer_unmap(struct pipe_winsys *_winsys,
if(map) {
trace_dump_call_begin(stream, "pipe_winsys", "buffer_write");
+ trace_dump_arg(stream, ptr, winsys);
+
trace_dump_arg(stream, ptr, buffer);
trace_dump_arg_begin(stream, "data");