From 23a7feda6310fa2d87ec94939c743f1aa133048b Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 5 Jun 2019 15:00:57 -0700 Subject: 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 --- src/freedreno/ir3/ir3_shader.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/freedreno/ir3') diff --git a/src/freedreno/ir3/ir3_shader.c b/src/freedreno/ir3/ir3_shader.c index 610ae655a83..228c7609f50 100644 --- a/src/freedreno/ir3/ir3_shader.c +++ b/src/freedreno/ir3/ir3_shader.c @@ -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); -- cgit v1.2.3