trace: More dump fixes.
authorJosé Fonseca <jrfonseca@tungstengraphics.com>
Tue, 12 Aug 2008 10:32:42 +0000 (11:32 +0100)
committerJosé Fonseca <jrfonseca@tungstengraphics.com>
Tue, 12 Aug 2008 10:34:41 +0000 (11:34 +0100)
src/gallium/drivers/trace/tr_context.c
src/gallium/drivers/trace/tr_winsys.c

index 3e098128c96bb44aa5c3f5eca28f84669a9b92c2..f82126370cf2eb3b60e0efaf3012fb0773eb9432 100644 (file)
@@ -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);
index 0a43f1f7f46e8e62fb7088ebd421001494aefb24..eec84a19816dedf73f4b99f2086f52ad77f0addb 100644 (file)
@@ -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");