summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/drivers/dri/i965/brw_nir_uniforms.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_nir_uniforms.cpp b/src/mesa/drivers/dri/i965/brw_nir_uniforms.cpp
index 32d92ac6f5d..28a60691926 100644
--- a/src/mesa/drivers/dri/i965/brw_nir_uniforms.cpp
+++ b/src/mesa/drivers/dri/i965/brw_nir_uniforms.cpp
@@ -292,4 +292,6 @@ brw_nir_lower_patch_vertices_in_to_uniform(nir_shader *nir)
exec_node_remove(&var->node);
exec_list_push_tail(&nir->uniforms, &var->node);
}
+
+ nir_fixup_deref_modes(nir);
}