summaryrefslogtreecommitdiff
path: root/src/glsl/nir/nir_remove_dead_variables.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/nir/nir_remove_dead_variables.c')
-rw-r--r--src/glsl/nir/nir_remove_dead_variables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/nir/nir_remove_dead_variables.c b/src/glsl/nir/nir_remove_dead_variables.c
index 530a8475ed..8f0833c7e2 100644
--- a/src/glsl/nir/nir_remove_dead_variables.c
+++ b/src/glsl/nir/nir_remove_dead_variables.c
@@ -130,7 +130,7 @@ nir_remove_dead_variables(nir_shader *shader)
if (remove_dead_vars(&overload->impl->locals, live)) {
nir_metadata_preserve(overload->impl, nir_metadata_block_index |
nir_metadata_dominance |
- nir_metadata_live_variables);
+ nir_metadata_live_ssa_defs);
progress = true;
}
}