summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2018-11-24 12:18:08 -0500
committerRob Clark <[email protected]>2019-03-03 13:27:50 -0500
commit8a5f2d9444879dc4c8b2b1f192b2a667a1278a2b (patch)
treed332a2e5ab35717e140933e528e2405467a77b12 /src/gallium/drivers/freedreno
parentc8e351ee3af63aad28d572cd5efb307a8e65e03d (diff)
freedreno/ir3: add Sethi–Ullman numbering pass
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno')
-rw-r--r--src/gallium/drivers/freedreno/ir3/ir3_gallium.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gallium/drivers/freedreno/ir3/ir3_gallium.c b/src/gallium/drivers/freedreno/ir3/ir3_gallium.c
index 7e7b699678f..1fe61273d32 100644
--- a/src/gallium/drivers/freedreno/ir3/ir3_gallium.c
+++ b/src/gallium/drivers/freedreno/ir3/ir3_gallium.c
@@ -52,7 +52,8 @@ dump_shader_info(struct ir3_shader_variant *v, struct pipe_debug_callback *debug
"SHADER-DB: %s prog %d/%d: %u instructions, %u dwords\n"
"SHADER-DB: %s prog %d/%d: %u half, %u full\n"
"SHADER-DB: %s prog %d/%d: %u const, %u constlen\n"
- "SHADER-DB: %s prog %d/%d: %u (ss), %u (sy)\n",
+ "SHADER-DB: %s prog %d/%d: %u (ss), %u (sy)\n"
+ "SHADER-DB: %s prog %d/%d: max_sun=%u\n",
ir3_shader_stage(v->shader),
v->shader->id, v->id,
v->info.instrs_count,
@@ -67,7 +68,10 @@ dump_shader_info(struct ir3_shader_variant *v, struct pipe_debug_callback *debug
v->constlen,
ir3_shader_stage(v->shader),
v->shader->id, v->id,
- v->info.ss, v->info.sy);
+ v->info.ss, v->info.sy,
+ ir3_shader_stage(v->shader),
+ v->shader->id, v->id,
+ v->max_sun);
}
struct ir3_shader_variant *