mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-04 06:38:19 +02:00
r300: drop ureg_DECL_temporary in ntr
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41577>
This commit is contained in:
parent
303cea1217
commit
e3136a8eba
1 changed files with 0 additions and 9 deletions
|
|
@ -242,13 +242,6 @@ struct ntr_live_reg_state {
|
|||
nir_block_worklist worklist;
|
||||
};
|
||||
|
||||
static void
|
||||
ntr_allocate_regs_unoptimized(struct ntr_compile *c, nir_function_impl *impl)
|
||||
{
|
||||
for (int i = 0; i < c->num_temps; i++)
|
||||
ureg_DECL_temporary(c->ureg);
|
||||
}
|
||||
|
||||
static void
|
||||
ntr_read_input_output(struct ntr_compile *c, gl_varying_slot location, unsigned base)
|
||||
{
|
||||
|
|
@ -1585,8 +1578,6 @@ ntr_emit_impl(struct ntr_compile *c, nir_function_impl *impl)
|
|||
/* Emit the ntr insns */
|
||||
ntr_emit_cf_list(c, &impl->body);
|
||||
|
||||
ntr_allocate_regs_unoptimized(c, impl);
|
||||
|
||||
/* Add constants and emit RC instructions directly. */
|
||||
ntr_add_constants(c);
|
||||
ntr_emit_cf_list_ureg(c, &impl->body);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue