diff --git a/src/gallium/auxiliary/nir/nir_to_tgsi.c b/src/gallium/auxiliary/nir/nir_to_tgsi.c index d74eafd06a3..a158c724c23 100644 --- a/src/gallium/auxiliary/nir/nir_to_tgsi.c +++ b/src/gallium/auxiliary/nir/nir_to_tgsi.c @@ -2161,8 +2161,6 @@ ntt_emit_impl(struct ntt_compile *c, nir_function_impl *impl) nir_index_ssa_defs(impl); nir_index_local_regs(impl); - nir_index_instrs(impl); - c->impl = impl; c->liveness = nir_live_ssa_defs_per_instr(impl);