Mesa (master): radeonsi: don't print gs_copy_shader stats for shaderdb
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue May 5 11:35:12 UTC 2020
Module: Mesa
Branch: master
Commit: 547e81655a0b9f6d7742e25f2e353e22c3a3b393
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=547e81655a0b9f6d7742e25f2e353e22c3a3b393
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date: Fri Apr 24 12:17:04 2020 +0200
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 <marek.olsak at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4607>
---
src/gallium/drivers/radeonsi/si_state_shaders.c | 2 --
1 file changed, 2 deletions(-)
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;
}
More information about the mesa-commit
mailing list