aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/ir3/ir3_gallium.c
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2019-10-14 10:42:25 -0700
committerRob Clark <[email protected]>2019-10-24 13:08:56 -0700
commit0f395f09336056caf954c48fcdd39705519c6af8 (patch)
tree54528406f199400989d9689d7b30293188a52941 /src/gallium/drivers/freedreno/ir3/ir3_gallium.c
parentd31f415ba0fd4842a5def2512d07b370c3139006 (diff)
freedreno/ir3: debug cleanup
1) deduplicate IR3_SHADER_DEBUG=disasm versus fs/vs/etc handling 2) standardize shader stage name prints, in particular VERT vs BVERT 3) don't mix stderr and stdout Signed-off-by: Rob Clark <[email protected]> Reviewed-by: Kristian H. Kristensen <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/ir3/ir3_gallium.c')
-rw-r--r--src/gallium/drivers/freedreno/ir3/ir3_gallium.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gallium/drivers/freedreno/ir3/ir3_gallium.c b/src/gallium/drivers/freedreno/ir3/ir3_gallium.c
index e5ea424b221..9fad7446080 100644
--- a/src/gallium/drivers/freedreno/ir3/ir3_gallium.c
+++ b/src/gallium/drivers/freedreno/ir3/ir3_gallium.c
@@ -51,11 +51,10 @@ dump_shader_info(struct ir3_shader_variant *v, bool binning_pass,
return;
pipe_debug_message(debug, SHADER_INFO,
- "%s%s shader: %u inst, %u dwords, "
+ "%s shader: %u inst, %u dwords, "
"%u half, %u full, %u constlen, "
"%u (ss), %u (sy), %d max_sun, %d loops\n",
- binning_pass ? "B" : "",
- ir3_shader_stage(v->shader),
+ ir3_shader_stage(v),
v->info.instrs_count,
v->info.sizedwords,
v->info.max_half_reg + 1,