From 811f8b899da3b1764f9863d9d2bb8d69582ffbf5 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Sun, 19 Feb 2023 12:48:29 -0500 Subject: [PATCH] agx: Don't print pre-optimization shader It's usually too noisy to be useful, especially before DCE. The optimized (but pre-RA) shader is usually the useful bit. Signed-off-by: Alyssa Rosenzweig Part-of: --- src/asahi/compiler/agx_compile.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/asahi/compiler/agx_compile.c b/src/asahi/compiler/agx_compile.c index d1d33a7a15b..74c097b0737 100644 --- a/src/asahi/compiler/agx_compile.c +++ b/src/asahi/compiler/agx_compile.c @@ -2107,9 +2107,6 @@ agx_compile_function_nir(nir_shader *nir, nir_function_impl *impl, agx_validate(ctx, "IR translation"); - if (agx_should_dump(nir, AGX_DBG_SHADERS)) - agx_print_shader(ctx, stdout); - if (likely(!(agx_debug & AGX_DBG_NOOPT))) { /* Dead code eliminate before instruction combining so use counts are * right */