trace: Dump user_buffer members.
authorJosé Fonseca <jfonseca@vmware.com>
Fri, 15 Nov 2013 15:32:33 +0000 (15:32 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Fri, 15 Nov 2013 15:32:33 +0000 (15:32 +0000)
src/gallium/drivers/trace/tr_dump_state.c

index 22f1d278033235c71f6a991935de94f3899ad9ab..374e32fda99e9a5a4c4bda4c809bd549d4ca5a26 100644 (file)
@@ -619,6 +619,7 @@ void trace_dump_vertex_buffer(const struct pipe_vertex_buffer *state)
    trace_dump_member(uint, state, stride);
    trace_dump_member(uint, state, buffer_offset);
    trace_dump_member(resource_ptr, state, buffer);
+   trace_dump_member(ptr, state, user_buffer);
 
    trace_dump_struct_end();
 }
@@ -639,6 +640,7 @@ void trace_dump_index_buffer(const struct pipe_index_buffer *state)
    trace_dump_member(uint, state, index_size);
    trace_dump_member(uint, state, offset);
    trace_dump_member(resource_ptr, state, buffer);
+   trace_dump_member(ptr, state, user_buffer);
 
    trace_dump_struct_end();
 }