projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nir: add callback to nir_remove_dead_variables()
[mesa.git]
/
src
/
freedreno
/
ir3
/
ir3_nir.c
diff --git
a/src/freedreno/ir3/ir3_nir.c
b/src/freedreno/ir3/ir3_nir.c
index 48dc9a340abf10332552cd719c62de048e335543..148186050bfcf7530d3203fa3705e289cf6fc853 100644
(file)
--- a/
src/freedreno/ir3/ir3_nir.c
+++ b/
src/freedreno/ir3/ir3_nir.c
@@
-352,7
+352,7
@@
ir3_optimize_nir(struct ir3_shader *shader, nir_shader *s,
OPT_V(s, nir_opt_cse);
}
- OPT_V(s, nir_remove_dead_variables, nir_var_function_temp);
+ OPT_V(s, nir_remove_dead_variables, nir_var_function_temp
, NULL
);
OPT_V(s, nir_opt_sink, nir_move_const_undef);