draw: add (disabled) vertex dumping for non-linear emit

matches linear path

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23368>
This commit is contained in:
Mike Blumenkrantz
2023-05-31 12:09:31 -04:00
committed by Marge Bot
parent b45594f4ff
commit 501f78b268
@@ -189,6 +189,15 @@ draw_pt_emit(struct pt_emit *emit,
0,
hw_verts);
if (0) {
for (unsigned i = 0; i < vertex_count; i++) {
debug_printf("\n\n%s vertex %d:\n", __func__, i);
draw_dump_emitted_vertex(emit->vinfo,
(const uint8_t *)hw_verts +
translate->key.output_stride * i);
}
}
render->unmap_vertices(render, 0, vertex_count - 1);
for (start = i = 0;