intel/nir: Fixup deref modes after lowering patch vertices
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 17 Mar 2018 06:20:46 +0000 (23:20 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sat, 23 Jun 2018 03:15:56 +0000 (20:15 -0700)
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Acked-by: Rob Clark <robdclark@gmail.com>
Acked-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Acked-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_nir_uniforms.cpp

index 32d92ac6f5d457ea89523f1b19cdc9d60266e147..28a60691926bbdb9e29c846e381187aa5c77ae04 100644 (file)
@@ -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);
 }