Module: Mesa Branch: main Commit: 811f8b899da3b1764f9863d9d2bb8d69582ffbf5 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=811f8b899da3b1764f9863d9d2bb8d69582ffbf5
Author: Alyssa Rosenzweig <[email protected]> Date: Sun Feb 19 12:48:29 2023 -0500 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 <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21430> --- 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 */
