From 261fe676e589ef106eb144e3051a5441855bbe59 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Fri, 16 Mar 2018 23:20:46 -0700 Subject: [PATCH] intel/nir: Fixup deref modes after lowering patch vertices Reviewed-by: Caio Marcelo de Oliveira Filho Acked-by: Rob Clark Acked-by: Bas Nieuwenhuizen Acked-by: Dave Airlie Reviewed-by: Kenneth Graunke --- 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 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); } -- 2.30.2