From: Jason Ekstrand Date: Sat, 17 Mar 2018 06:20:46 +0000 (-0700) Subject: intel/nir: Fixup deref modes after lowering patch vertices X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=261fe676e589ef106eb144e3051a5441855bbe59;p=mesa.git 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 --- 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); }