[Mesa-dev] [PATCH v4 017/129] nir: Support deref instructions in lower_io_to_temporaries

Jason Ekstrand jason at jlekstrand.net
Fri Jun 1 05:02:00 UTC 2018


Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
---
 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 3dae522..d93e20e 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.5.0.400.gff86faf



More information about the mesa-dev mailing list