diff options
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/trace/tr_dump_state.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/drivers/trace/tr_dump_state.c b/src/gallium/drivers/trace/tr_dump_state.c index fb8683adba5..2e8df54ceba 100644 --- a/src/gallium/drivers/trace/tr_dump_state.c +++ b/src/gallium/drivers/trace/tr_dump_state.c @@ -274,7 +274,8 @@ void trace_dump_shader_state(const struct pipe_shader_state *state) trace_dump_member_begin("stream_output"); trace_dump_struct_begin("pipe_stream_output_info"); trace_dump_member(uint, &state->stream_output, num_outputs); - trace_dump_array(uint, state->stream_output.stride, PIPE_MAX_SO_BUFFERS); + trace_dump_member_array(uint, &state->stream_output, stride); + trace_dump_member_begin("output"); trace_dump_array_begin(); for(i = 0; i < state->stream_output.num_outputs; ++i) { trace_dump_elem_begin(); @@ -288,8 +289,9 @@ void trace_dump_shader_state(const struct pipe_shader_state *state) trace_dump_elem_end(); } trace_dump_array_end(); + trace_dump_member_end(); // output trace_dump_struct_end(); - trace_dump_member_end(); + trace_dump_member_end(); // stream_output trace_dump_struct_end(); } |