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
/
gallium
/
drivers
/
freedreno
/
a2xx
/
ir2_nir.c
diff --git
a/src/gallium/drivers/freedreno/a2xx/ir2_nir.c
b/src/gallium/drivers/freedreno/a2xx/ir2_nir.c
index 53a3c0a664915e6ebc8c006cf45327196c4b1ee2..44e53afaa3c5c399de8986dd76052abde78f54b0 100644
(file)
--- a/
src/gallium/drivers/freedreno/a2xx/ir2_nir.c
+++ b/
src/gallium/drivers/freedreno/a2xx/ir2_nir.c
@@
-122,7
+122,7
@@
ir2_optimize_nir(nir_shader *s, bool lower)
ir2_optimize_loop(s);
ir2_optimize_loop(s);
- 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);
/* TODO we dont want to get shaders writing to depth for depth textures */
OPT_V(s, nir_opt_sink, nir_move_const_undef);
/* TODO we dont want to get shaders writing to depth for depth textures */