diff options
-rw-r--r-- | src/gallium/auxiliary/util/u_dump_state.c | 5 | ||||
-rw-r--r-- | src/gallium/drivers/ddebug/dd_draw.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_dump_state.c b/src/gallium/auxiliary/util/u_dump_state.c index 06d5e788fae..105e5c4bc38 100644 --- a/src/gallium/auxiliary/util/u_dump_state.c +++ b/src/gallium/auxiliary/util/u_dump_state.c @@ -926,6 +926,8 @@ util_dump_draw_info(FILE *stream, const struct pipe_draw_info *state) util_dump_member(stream, uint, state, start_instance); util_dump_member(stream, uint, state, instance_count); + util_dump_member(stream, uint, state, drawid); + util_dump_member(stream, uint, state, vertices_per_patch); util_dump_member(stream, int, state, index_bias); @@ -939,6 +941,9 @@ util_dump_draw_info(FILE *stream, const struct pipe_draw_info *state) util_dump_member(stream, ptr, state, indirect); util_dump_member(stream, uint, state, indirect_offset); + util_dump_member(stream, uint, state, indirect_stride); + util_dump_member(stream, uint, state, indirect_count); + util_dump_member(stream, uint, state, indirect_params_offset); util_dump_struct_end(stream); } diff --git a/src/gallium/drivers/ddebug/dd_draw.c b/src/gallium/drivers/ddebug/dd_draw.c index 5cbc2b9e48c..6e96c7247a3 100644 --- a/src/gallium/drivers/ddebug/dd_draw.c +++ b/src/gallium/drivers/ddebug/dd_draw.c @@ -220,6 +220,8 @@ dd_dump_draw_vbo(struct dd_draw_state *dstate, struct pipe_draw_info *info, FILE count_from_stream_output); if (info->indirect) DUMP_M(resource, info, indirect); + if (info->indirect_params) + DUMP_M(resource, info, indirect_params); fprintf(f, "\n"); /* TODO: dump active queries */ |