freedreno: Stop reporting max_const in shader-db.

We end up uploading constlen regardless, so max_const would only get
you slightly improved granularity in const usage in comparison.

Reviewed-by: Rob Clark <robdclark@gmail.com>
This commit is contained in:
Eric Anholt 2019-06-05 15:00:57 -07:00
parent ee2e1e85d4
commit 23a7feda63
2 changed files with 2 additions and 5 deletions

View File

@ -417,9 +417,7 @@ ir3_shader_disasm(struct ir3_shader_variant *so, uint32_t *bin, FILE *out)
so->info.max_half_reg + 1,
so->info.max_reg + 1);
fprintf(out, "; %d const, %u constlen\n",
so->info.max_const + 1,
so->constlen);
fprintf(out, "; %u constlen\n", so->constlen);
fprintf(out, "; %u (ss), %u (sy)\n", so->info.ss, so->info.sy);

View File

@ -52,7 +52,7 @@ dump_shader_info(struct ir3_shader_variant *v, bool binning_pass,
pipe_debug_message(debug, SHADER_INFO,
"%s%s shader: %u inst, %u dwords, "
"%u half, %u full, %u const, %u constlen, "
"%u half, %u full, %u constlen, "
"%u (ss), %u (sy), %d max_sun, %d loops\n",
binning_pass ? "B" : "",
ir3_shader_stage(v->shader),
@ -60,7 +60,6 @@ dump_shader_info(struct ir3_shader_variant *v, bool binning_pass,
v->info.sizedwords,
v->info.max_half_reg + 1,
v->info.max_reg + 1,
v->info.max_const + 1,
v->constlen,
v->info.ss, v->info.sy,
v->max_sun, v->loops);