[Mesa-dev] [PATCH v3 041/104] intel/nir: Fixup deref modes after lowering patch vertices

Jason Ekstrand jason at jlekstrand.net
Tue Apr 3 18:33:08 UTC 2018


---
 src/mesa/drivers/dri/i965/brw_nir_uniforms.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/mesa/drivers/dri/i965/brw_nir_uniforms.cpp b/src/mesa/drivers/dri/i965/brw_nir_uniforms.cpp
index 69da83a..0fd1492 100644
--- a/src/mesa/drivers/dri/i965/brw_nir_uniforms.cpp
+++ b/src/mesa/drivers/dri/i965/brw_nir_uniforms.cpp
@@ -268,4 +268,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);
 }
-- 
2.5.0.400.gff86faf



More information about the mesa-dev mailing list