mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
nir: remove NIR_PASS_V
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10409 Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36381>
This commit is contained in:
parent
8e82bafae6
commit
845961ab77
1 changed files with 0 additions and 13 deletions
|
|
@ -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; \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue