From 535289a3a97b104dc128d633785fae3936e3b120 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Thu, 15 Mar 2018 15:54:35 -0700 Subject: [PATCH] nir: Support deref instructions in lower_io_to_temporaries Reviewed-by: Caio Marcelo de Oliveira Filho Acked-by: Rob Clark Acked-by: Bas Nieuwenhuizen Acked-by: Dave Airlie Reviewed-by: Kenneth Graunke --- src/compiler/nir/nir_lower_io_to_temporaries.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/compiler/nir/nir_lower_io_to_temporaries.c b/src/compiler/nir/nir_lower_io_to_temporaries.c index 3dae52220dc..d93e20e8d75 100644 --- a/src/compiler/nir/nir_lower_io_to_temporaries.c +++ b/src/compiler/nir/nir_lower_io_to_temporaries.c @@ -195,4 +195,6 @@ nir_lower_io_to_temporaries(nir_shader *shader, nir_function_impl *entrypoint, exec_list_append(&shader->globals, &state.old_inputs); exec_list_append(&shader->globals, &state.old_outputs); + + nir_fixup_deref_modes(shader); } -- 2.30.2