gallium/ntt: Drop reindexing of SSA defs and regs.
It made the nir_print_shader() for NIR_TO_TGSI_DEBUG not match up with the instructions being emitted, confusing me. Given that I'm seeing only like 1/3 shrinking in the SSA indices, just drop the reindexing since it's not doing much (and we don't store that much per SSA index). Acked-by: Jason Ekstrand <jason@jlekstrand.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7658>
This commit is contained in:
parent
7956c788af
commit
6916d1d924
|
@ -2155,12 +2155,6 @@ ntt_emit_cf_list(struct ntt_compile *c, struct exec_list *list)
|
|||
static void
|
||||
ntt_emit_impl(struct ntt_compile *c, nir_function_impl *impl)
|
||||
{
|
||||
/* reindex values so the numbers are reasonably small despite
|
||||
* optimization having deleted most of them.
|
||||
*/
|
||||
nir_index_ssa_defs(impl);
|
||||
nir_index_local_regs(impl);
|
||||
|
||||
c->impl = impl;
|
||||
c->liveness = nir_live_ssa_defs_per_instr(impl);
|
||||
|
||||
|
|
Loading…
Reference in New Issue