From cd7b260eeb94585127aa39e16740029b3ae95958 Mon Sep 17 00:00:00 2001 From: Emma Anholt Date: Sun, 26 Dec 2021 09:20:17 -0800 Subject: [PATCH] r300: Drop unused r300_get_stats() call. Unused since we switched to shader-db. Reviewed-by: Matt Turner Part-of: --- src/gallium/drivers/r300/compiler/radeon_compiler.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/gallium/drivers/r300/compiler/radeon_compiler.c b/src/gallium/drivers/r300/compiler/radeon_compiler.c index 805d9a09617..4e8563c53c0 100644 --- a/src/gallium/drivers/r300/compiler/radeon_compiler.c +++ b/src/gallium/drivers/r300/compiler/radeon_compiler.c @@ -400,10 +400,6 @@ void rc_run_compiler_passes(struct radeon_compiler *c, struct radeon_compiler_pa /* Executes a list of compiler passes given in the parameter 'list'. */ void rc_run_compiler(struct radeon_compiler *c, struct radeon_compiler_pass *list) { - struct rc_program_stats s; - - rc_get_stats(c, &s); - if (c->Debug & RC_DBG_LOG) { fprintf(stderr, "%s: before compilation\n", shader_name[c->type]); rc_print_program(&c->Program);