From 4f744998efae9fd4a378628b8b2c662d924aede0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timur=20Krist=C3=B3f?= Date: Tue, 18 Feb 2025 17:26:03 +0100 Subject: [PATCH] nir: Add comment to indicate that NIR_PASS_V is deprecated. Reviewed-by: Alyssa Rosenzweig Part-of: --- src/compiler/nir/nir.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h index e4754106541..2f42a10b40b 100644 --- a/src/compiler/nir/nir.h +++ b/src/compiler/nir/nir.h @@ -4622,6 +4622,10 @@ 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); \