summaryrefslogtreecommitdiffstats
path: root/src/glsl/nir/nir_sweep.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/nir/nir_sweep.c')
-rw-r--r--src/glsl/nir/nir_sweep.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/nir/nir_sweep.c b/src/glsl/nir/nir_sweep.c
index 0710bdb..5c62154 100644
--- a/src/glsl/nir/nir_sweep.c
+++ b/src/glsl/nir/nir_sweep.c
@@ -159,6 +159,7 @@ nir_sweep(nir_shader *nir)
steal_list(nir, nir_variable, &nir->uniforms);
steal_list(nir, nir_variable, &nir->inputs);
steal_list(nir, nir_variable, &nir->outputs);
+ steal_list(nir, nir_variable, &nir->shared);
steal_list(nir, nir_variable, &nir->globals);
steal_list(nir, nir_variable, &nir->system_values);
steal_list(nir, nir_register, &nir->registers);