mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-29 22:30:24 +01:00
gallium/util: print task/mesh statistics in util_end_pipestat_query
Used for debugging. Not used by anything in the tree. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39253>
This commit is contained in:
parent
b41f466045
commit
ceb2667cf3
1 changed files with 8 additions and 2 deletions
|
|
@ -273,7 +273,10 @@ util_end_pipestat_query(struct pipe_context *ctx, struct pipe_query *q,
|
|||
" ps_invocations = %"PRIu64"\n"
|
||||
" hs_invocations = %"PRIu64"\n"
|
||||
" ds_invocations = %"PRIu64"\n"
|
||||
" cs_invocations = %"PRIu64"\n",
|
||||
" cs_invocations = %"PRIu64"\n"
|
||||
" ts_invocations = %"PRIu64"\n"
|
||||
" ms_invocations = %"PRIu64"\n"
|
||||
" ms_primitives = %"PRIu64"\n",
|
||||
(unsigned)p_atomic_inc_return(&counter),
|
||||
stats.ia_vertices,
|
||||
stats.ia_primitives,
|
||||
|
|
@ -285,7 +288,10 @@ util_end_pipestat_query(struct pipe_context *ctx, struct pipe_query *q,
|
|||
stats.ps_invocations,
|
||||
stats.hs_invocations,
|
||||
stats.ds_invocations,
|
||||
stats.cs_invocations);
|
||||
stats.cs_invocations,
|
||||
stats.ts_invocations,
|
||||
stats.ms_invocations,
|
||||
stats.ms_primitives);
|
||||
}
|
||||
|
||||
/* This is a helper for profiling. Don't remove. */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue