aboutsummaryrefslogtreecommitdiffstats
path: root/src/freedreno/ir3
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2019-06-05 15:00:57 -0700
committerEric Anholt <[email protected]>2019-06-21 17:14:43 -0700
commit23a7feda6310fa2d87ec94939c743f1aa133048b (patch)
treed795c57045f910b6b5aa7b458cd069b5a1ce0d81 /src/freedreno/ir3
parentee2e1e85d4df83efeae0c2f47a1eb44da2a088a1 (diff)
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 <[email protected]>
Diffstat (limited to 'src/freedreno/ir3')
-rw-r--r--src/freedreno/ir3/ir3_shader.c4
1 files changed, 1 insertions, 3 deletions
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);