From 014d2e46a712408984cd2d766fff49fcd08b7399 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Mon, 25 May 2020 13:19:43 -0400 Subject: [PATCH] pan/mdg: Distinguish blend shaders in internal shader-db Since these shaders are purely internal, the optimization criteria are a bit different, so it's worth calling attention to this when dumping. Signed-off-by: Alyssa Rosenzweig Part-of: --- src/panfrost/midgard/midgard_compile.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/panfrost/midgard/midgard_compile.c b/src/panfrost/midgard/midgard_compile.c index 5be0ee354e0..cee1933d693 100644 --- a/src/panfrost/midgard/midgard_compile.c +++ b/src/panfrost/midgard/midgard_compile.c @@ -2845,6 +2845,7 @@ midgard_compile_shader_nir(nir_shader *nir, panfrost_program *program, bool is_b "%u registers, %u threads, %u loops, " "%u:%u spills:fills\n", SHADER_DB_COUNT++, + ctx->is_blend ? "PAN_SHADER_BLEND" : gl_shader_stage_name(ctx->stage), nr_ins, nr_bundles, ctx->quadword_count, nr_registers, nr_threads, -- 2.30.2