aboutsummaryrefslogtreecommitdiffstats
path: root/src/glsl/nir/nir.h
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2015-09-17 10:57:14 -0700
committerKenneth Graunke <[email protected]>2015-09-21 13:46:55 -0700
commit1adde5b87e43b1512c0744c412d51cbc0078329b (patch)
tree062698f3a67ae29408b0ec874d014577a3b9dbfe /src/glsl/nir/nir.h
parent9f5e7ae9d83ce6de761936b95cd0b7ba4c1219c4 (diff)
nir: Report progress from nir_remove_dead_variables().
Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/glsl/nir/nir.h')
-rw-r--r--src/glsl/nir/nir.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/nir/nir.h b/src/glsl/nir/nir.h
index 4b05807e1d0..5be5bfa2ab8 100644
--- a/src/glsl/nir/nir.h
+++ b/src/glsl/nir/nir.h
@@ -1823,7 +1823,7 @@ void nir_lower_io(nir_shader *shader,
int (*type_size)(const struct glsl_type *));
void nir_lower_vars_to_ssa(nir_shader *shader);
-void nir_remove_dead_variables(nir_shader *shader);
+bool nir_remove_dead_variables(nir_shader *shader);
void nir_move_vec_src_uses_to_dest(nir_shader *shader);
bool nir_lower_vec_to_movs(nir_shader *shader);