summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2018-03-16 23:20:46 -0700
committerJason Ekstrand <[email protected]>2018-06-22 20:15:56 -0700
commit261fe676e589ef106eb144e3051a5441855bbe59 (patch)
tree69ab85ae8aeb6d6812bd388b5194fa73a12f3614
parentd7d5aab45b4b24a89970df17c82c4e00393400d2 (diff)
intel/nir: Fixup deref modes after lowering patch vertices
Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]> Acked-by: Rob Clark <[email protected]> Acked-by: Bas Nieuwenhuizen <[email protected]> Acked-by: Dave Airlie <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
-rw-r--r--src/mesa/drivers/dri/i965/brw_nir_uniforms.cpp2
1 files changed, 2 insertions, 0 deletions
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);
}