nir: Add comment to indicate that NIR_PASS_V is deprecated.
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33609>
This commit is contained in:
@@ -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); \
|
||||
|
||||
Reference in New Issue
Block a user