diff options
author | Jason Ekstrand <[email protected]> | 2018-03-15 15:54:35 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2018-06-22 20:15:54 -0700 |
commit | 535289a3a97b104dc128d633785fae3936e3b120 (patch) | |
tree | bfc9bd894100db44f4c2d92fc4f82e880f2bcbd8 /src/compiler/nir | |
parent | 21befc46ef2b7362f3d6931b771115c1a07933d3 (diff) |
nir: Support deref instructions in lower_io_to_temporaries
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]>
Diffstat (limited to 'src/compiler/nir')
-rw-r--r-- | src/compiler/nir/nir_lower_io_to_temporaries.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); } |