aux/trace: fix vertex state tracing

Fixes: e8cad57aa7 ("gallium/trace: add pipe_vertex_state support")

Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13582>
(cherry picked from commit f579401099)
This commit is contained in:
Mike Blumenkrantz 2021-11-05 11:09:34 -04:00 committed by Eric Engestrom
parent 4fd4c41c9e
commit 1ae6279081
2 changed files with 3 additions and 1 deletions

View file

@ -1075,7 +1075,7 @@
"description": "aux/trace: fix vertex state tracing",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "e8cad57aa7ab0b7cc1e86e85915b6ad413cdd865"
},

View file

@ -1055,7 +1055,9 @@ trace_screen_create_vertex_state(struct pipe_screen *_screen,
trace_dump_arg(ptr, screen);
trace_dump_arg(ptr, buffer->buffer.resource);
trace_dump_arg(vertex_buffer, buffer);
trace_dump_arg_begin("elements");
trace_dump_struct_array(vertex_element, elements, num_elements);
trace_dump_arg_end();
trace_dump_arg(uint, num_elements);
trace_dump_arg(ptr, indexbuf);
trace_dump_arg(uint, full_velem_mask);