From 17e05c2f211817d5a4cc8e6193f680d7e9f04f5c Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Fri, 1 Mar 2024 12:31:09 -0400 Subject: [PATCH] agx: add more shaderdb stats relevant to spilling and promotion Signed-off-by: Alyssa Rosenzweig Part-of: --- src/asahi/compiler/agx_compile.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/asahi/compiler/agx_compile.c b/src/asahi/compiler/agx_compile.c index 54836acee4c..63a7b45aaaf 100644 --- a/src/asahi/compiler/agx_compile.c +++ b/src/asahi/compiler/agx_compile.c @@ -2311,10 +2311,11 @@ agx_dump_stats(agx_context *ctx, unsigned size, char **out) agx_occupancy_for_register_count(ctx->max_reg).max_threads; return asprintf(out, - "%s shader: %u inst, %u bytes, %u halfregs, %u threads, " - "%u loops, %u:%u spills:fills", + "%s shader: %u inst, %u bytes, %u regs, %u uniforms, " + "%u scratch, %u threads, %u loops, %u:%u spills:fills", gl_shader_stage_name(ctx->stage), nr_ins, size, ctx->max_reg, - nr_threads, ctx->loop_count, spills, fills); + ctx->out->push_count, ctx->scratch_size, nr_threads, + ctx->loop_count, spills, fills); } static bool