diff options
author | Rob Clark <[email protected]> | 2019-12-11 15:52:32 -0800 |
---|---|---|
committer | Rob Clark <[email protected]> | 2019-12-13 09:25:40 -0800 |
commit | dd34ccb2c5abff27bddb32becfa8fea6c4abaf1b (patch) | |
tree | 19de5bba28a911965cc1eb64a915669bbeb392ab /src/gallium/drivers/freedreno | |
parent | 2865d79a33c120e512d5619b1f1fdcfdcbe50fa8 (diff) |
freedreno/ir3: add last-baryf shaderdb stat
Sometimes sched changes that are a win in terms of instruction count
and/or register pressure, are worse in real life, due to keeping varying
storage locked for too long. Add a shader-db stat to give this more
visibility.
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno')
-rw-r--r-- | src/gallium/drivers/freedreno/ir3/ir3_gallium.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/ir3/ir3_gallium.c b/src/gallium/drivers/freedreno/ir3/ir3_gallium.c index e5c44521af6..5a47376c14e 100644 --- a/src/gallium/drivers/freedreno/ir3/ir3_gallium.c +++ b/src/gallium/drivers/freedreno/ir3/ir3_gallium.c @@ -52,13 +52,14 @@ dump_shader_info(struct ir3_shader_variant *v, bool binning_pass, pipe_debug_message(debug, SHADER_INFO, "%s shader: %u inst, %u nops, %u non-nops, %u dwords, " - "%u half, %u full, %u constlen, " + "%u last-baryf, %u half, %u full, %u constlen, " "%u (ss), %u (sy), %d max_sun, %d loops\n", ir3_shader_stage(v), v->info.instrs_count, v->info.nops_count, v->info.instrs_count - v->info.nops_count, v->info.sizedwords, + v->info.last_baryf, v->info.max_half_reg + 1, v->info.max_reg + 1, v->constlen, |