aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/gallium/auxiliary/util/u_dump_state.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-01-17 09:07:57 +0100
committermarha <marha@users.sourceforge.net>2012-01-17 09:07:57 +0100
commit05accdf525b82a20be8e92789185d8537bc4ab81 (patch)
tree05bc88963d29df95f0a7c63cad7ce773e093b632 /mesalib/src/gallium/auxiliary/util/u_dump_state.c
parent3e85e2f1e33380d6c9efe0972ed475cbf9dbe825 (diff)
parent34c1e86406451a3604de4982339058088434ab40 (diff)
downloadvcxsrv-05accdf525b82a20be8e92789185d8537bc4ab81.tar.gz
vcxsrv-05accdf525b82a20be8e92789185d8537bc4ab81.tar.bz2
vcxsrv-05accdf525b82a20be8e92789185d8537bc4ab81.zip
Merge remote-tracking branch 'origin/released'
Diffstat (limited to 'mesalib/src/gallium/auxiliary/util/u_dump_state.c')
-rw-r--r--mesalib/src/gallium/auxiliary/util/u_dump_state.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/mesalib/src/gallium/auxiliary/util/u_dump_state.c b/mesalib/src/gallium/auxiliary/util/u_dump_state.c
index c728bc402..c346a0ba5 100644
--- a/mesalib/src/gallium/auxiliary/util/u_dump_state.c
+++ b/mesalib/src/gallium/auxiliary/util/u_dump_state.c
@@ -444,13 +444,15 @@ util_dump_shader_state(FILE *stream, const struct pipe_shader_state *state)
util_dump_member_begin(stream, "stream_output");
util_dump_struct_begin(stream, "pipe_stream_output_info");
util_dump_member(stream, uint, &state->stream_output, num_outputs);
- util_dump_member(stream, uint, &state->stream_output, stride);
+ util_dump_array(stream, uint, state->stream_output.stride,
+ Elements(state->stream_output.stride));
util_dump_array_begin(stream);
for(i = 0; i < state->stream_output.num_outputs; ++i) {
util_dump_elem_begin(stream);
util_dump_struct_begin(stream, ""); /* anonymous */
util_dump_member(stream, uint, &state->stream_output.output[i], register_index);
- util_dump_member(stream, uint, &state->stream_output.output[i], register_mask);
+ util_dump_member(stream, uint, &state->stream_output.output[i], start_component);
+ util_dump_member(stream, uint, &state->stream_output.output[i], num_components);
util_dump_member(stream, uint, &state->stream_output.output[i], output_buffer);
util_dump_struct_end(stream);
util_dump_elem_end(stream);