summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2017-04-07 16:14:52 +0200
committerNicolai Hähnle <[email protected]>2017-04-14 22:50:54 +0200
commitd15b1f6e2d8b250656e7023d48cdfd623511154e (patch)
tree8a7bc35ac232eca8f7544ad743fc5cebe6e7d5d6 /src/gallium
parent2ac03e90fb653944d985b513ecf5240cff2e680a (diff)
gallium/ddebug: dump missing members of pipe_draw_info
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/auxiliary/util/u_dump_state.c5
-rw-r--r--src/gallium/drivers/ddebug/dd_draw.c2
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 */