[Mesa-dev] [RFC v1 37/38] intel/nir: Fixup deref modes after lowering patch vertices

Jason Ekstrand jason at jlekstrand.net
Wed Mar 21 05:55:11 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