summaryrefslogtreecommitdiff
path: root/src/glsl/nir/nir_opt_dead_cf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/nir/nir_opt_dead_cf.c')
-rw-r--r--src/glsl/nir/nir_opt_dead_cf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/nir/nir_opt_dead_cf.c b/src/glsl/nir/nir_opt_dead_cf.c
index 0d4819b515..356e926ffe 100644
--- a/src/glsl/nir/nir_opt_dead_cf.c
+++ b/src/glsl/nir/nir_opt_dead_cf.c
@@ -204,7 +204,7 @@ loop_is_dead(nir_loop *loop)
return false;
nir_function_impl *impl = nir_cf_node_get_function(&loop->cf_node);
- nir_metadata_require(impl, nir_metadata_live_variables |
+ nir_metadata_require(impl, nir_metadata_live_ssa_defs |
nir_metadata_dominance);
for (nir_block *cur = after->imm_dom; cur != before; cur = cur->imm_dom) {