summaryrefslogtreecommitdiffstats
path: root/src/glsl/nir/nir_metadata.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/nir/nir_metadata.c')
-rw-r--r--src/glsl/nir/nir_metadata.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glsl/nir/nir_metadata.c b/src/glsl/nir/nir_metadata.c
index 070cb74d6d6..a4d618ccc05 100644
--- a/src/glsl/nir/nir_metadata.c
+++ b/src/glsl/nir/nir_metadata.c
@@ -39,6 +39,8 @@ nir_metadata_require(nir_function_impl *impl, nir_metadata required)
nir_index_blocks(impl);
if (NEEDS_UPDATE(nir_metadata_dominance))
nir_calc_dominance_impl(impl);
+ if (NEEDS_UPDATE(nir_metadata_live_variables))
+ nir_live_variables_impl(impl);
#undef NEEDS_UPDATE