mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
pan/bi: Label shader-db shaders
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8213>
This commit is contained in:
parent
bcd0a285bb
commit
6a46b38d12
1 changed files with 2 additions and 1 deletions
|
|
@ -2409,11 +2409,12 @@ bi_print_stats(bi_context *ctx, FILE *fp)
|
|||
|
||||
/* Dump stats */
|
||||
|
||||
fprintf(stderr, "shader%d - %s shader: "
|
||||
fprintf(stderr, "shader%d:%s - %s shader: "
|
||||
"%u inst, %u nops, %u clauses, "
|
||||
"%u threads, %u loops, "
|
||||
"%u:%u spills:fills\n",
|
||||
SHADER_DB_COUNT++,
|
||||
ctx->nir->info.label ?: "",
|
||||
ctx->is_blend ? "PAN_SHADER_BLEND" :
|
||||
gl_shader_stage_name(ctx->stage),
|
||||
nr_ins, nr_nops, nr_clauses,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue