diff options
author | Christian Gmeiner <[email protected]> | 2017-03-19 22:27:55 +0100 |
---|---|---|
committer | Christian Gmeiner <[email protected]> | 2017-04-05 19:58:18 +0200 |
commit | 8d9a31ef9726192ff8e97f36bc05bb15c037ed27 (patch) | |
tree | 946e96d9ce76c4b78a33ed77637c29364ea87f6a /src | |
parent | 20fa8f198996f7c1024bb121d89b6ac74aa21a20 (diff) |
etnaviv: adapt shader-db output for variant support
Signed-off-by: Christian Gmeiner <[email protected]>
Reviewed-by: Lucas Stach <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/etnaviv/etnaviv_shader.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/gallium/drivers/etnaviv/etnaviv_shader.c b/src/gallium/drivers/etnaviv/etnaviv_shader.c index 21d475274aa..b5256e4b510 100644 --- a/src/gallium/drivers/etnaviv/etnaviv_shader.c +++ b/src/gallium/drivers/etnaviv/etnaviv_shader.c @@ -238,26 +238,26 @@ etna_shader_stage(struct etna_shader_variant *shader) } static void -dump_shader_info(struct etna_shader_variant *shader, struct pipe_debug_callback *debug) +dump_shader_info(struct etna_shader_variant *v, struct pipe_debug_callback *debug) { if (!unlikely(etna_mesa_debug & ETNA_DBG_SHADERDB)) return; pipe_debug_message(debug, SHADER_INFO, "\n" - "SHADER-DB: %s prog %d: %u instructions %u temps\n" - "SHADER-DB: %s prog %d: %u immediates %u consts\n" - "SHADER-DB: %s prog %d: %u loops\n", - etna_shader_stage(shader), - shader->id, - shader->code_size, - shader->num_temps, - etna_shader_stage(shader), - shader->id, - shader->uniforms.imm_count, - shader->uniforms.const_count, - etna_shader_stage(shader), - shader->id, - shader->num_loops); + "SHADER-DB: %s prog %d/%d: %u instructions %u temps\n" + "SHADER-DB: %s prog %d/%d: %u immediates %u consts\n" + "SHADER-DB: %s prog %d/%d: %u loops\n", + 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->uniforms.const_count, + etna_shader_stage(v), + v->shader->id, v->id, + v->num_loops); } bool |