From 845961ab77ad892f6bd15ed74f856b9dfd3a30eb Mon Sep 17 00:00:00 2001 From: Georg Lehmann Date: Fri, 25 Jul 2025 19:34:46 +0200 Subject: [PATCH] nir: remove NIR_PASS_V Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10409 Reviewed-by: Alyssa Rosenzweig Part-of: --- src/compiler/nir/nir.h | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h index 6fd2df8c63b..a30d7ea89d1 100644 --- a/src/compiler/nir/nir.h +++ b/src/compiler/nir/nir.h @@ -4745,19 +4745,6 @@ should_print_nir(UNUSED nir_shader *shader) } \ }) -/** - * Deprecated. Please do not use in newly written code. - * See https://gitlab.freedesktop.org/mesa/mesa/-/issues/10409 - */ -#define NIR_PASS_V(nir, pass, ...) _PASS(pass, nir, { \ - if (should_print_nir(nir)) \ - printf("%s\n", #pass); \ - pass(nir, ##__VA_ARGS__); \ - nir_validate_shader(nir, "after " #pass " in " __FILE__); \ - if (should_print_nir(nir)) \ - nir_print_shader(nir, stdout); \ -}) - #define _NIR_LOOP_PASS(progress, idempotent, skip, nir, pass, ...) \ do { \ bool nir_loop_pass_progress = false; \