diff options
author | Christian Gmeiner <[email protected]> | 2019-10-05 14:53:46 +0200 |
---|---|---|
committer | Christian Gmeiner <[email protected]> | 2019-10-11 12:35:15 +0200 |
commit | 6dc650fe71f73a94821457512e26cbcacff6ac6b (patch) | |
tree | f77afe42e1cf1d429bfab44b3c7411496f07333f /src/gallium | |
parent | 140bc0f040e1c70633d6eb59a6c225c83533ca5c (diff) |
etnaviv: output the same shader-db format as freedreno, v3d and intel
This lets us reuse their report.py.
Signed-off-by: Christian Gmeiner <[email protected]>
Reviewed-by: Jonathan Marek <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/etnaviv/etnaviv_shader.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/gallium/drivers/etnaviv/etnaviv_shader.c b/src/gallium/drivers/etnaviv/etnaviv_shader.c index 98d4c2874a7..4664ba96b21 100644 --- a/src/gallium/drivers/etnaviv/etnaviv_shader.c +++ b/src/gallium/drivers/etnaviv/etnaviv_shader.c @@ -306,15 +306,12 @@ dump_shader_info(struct etna_shader_variant *v, struct pipe_debug_callback *debu if (!unlikely(etna_mesa_debug & ETNA_DBG_SHADERDB)) return; - pipe_debug_message(debug, SHADER_INFO, "\n" - "SHADER-DB: %s prog %d/%d: %u instructions %u temps\n" - "SHADER-DB: %s prog %d/%d: %u immediates %u loops\n", + pipe_debug_message(debug, SHADER_INFO, + "%s shader: %u instructions, %u temps, " + "%u immediates, %u loops", etna_shader_stage(v), - v->shader->id, v->id, v->code_size, v->num_temps, - etna_shader_stage(v), - v->shader->id, v->id, v->uniforms.imm_count, v->num_loops); } |