[Mesa-dev] [PATCH v4 040/129] intel/nir: Fixup deref modes after lowering patch vertices

Jason Ekstrand jason at jlekstrand.net
Fri Jun 1 05:02:23 UTC 2018


Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
---
 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