From: Pierre-Eric Pelloux-Prayer Date: Fri, 24 Apr 2020 10:17:04 +0000 (+0200) Subject: radeonsi: don't print gs_copy_shader stats for shaderdb X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=547e81655a0b9f6d7742e25f2e353e22c3a3b393;p=mesa.git radeonsi: don't print gs_copy_shader stats for shaderdb Fixes: dbc86fa3de6 ("radeonsi: dump shader stats when hitting the live cache") Reviewed-by: Marek Olšák Part-of: --- diff --git a/src/gallium/drivers/radeonsi/si_state_shaders.c b/src/gallium/drivers/radeonsi/si_state_shaders.c index ce09a34ddd8..45dcfa679b5 100644 --- a/src/gallium/drivers/radeonsi/si_state_shaders.c +++ b/src/gallium/drivers/radeonsi/si_state_shaders.c @@ -2841,8 +2841,6 @@ static void *si_create_shader(struct pipe_context *ctx, const struct pipe_shader si_shader_dump_stats_for_shader_db(sscreen, sel->main_shader_part_ngg, &sctx->debug); if (sel->main_shader_part_ngg_es) si_shader_dump_stats_for_shader_db(sscreen, sel->main_shader_part_ngg_es, &sctx->debug); - if (sel->gs_copy_shader) - si_shader_dump_stats_for_shader_db(sscreen, sel->gs_copy_shader, &sctx->debug); } return sel; }