jay/register_allocate: remove remnant of old partition code

We no longer delete from num_regs for spilling now.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41872>
This commit is contained in:
Alyssa Rosenzweig 2026-05-28 14:33:04 -04:00 committed by Marge Bot
parent 5cff4cca3a
commit e900ac1750

View file

@ -1491,12 +1491,8 @@ jay_register_allocate_function(jay_function *f)
insert_parallel_copies_for_phis(f);
/* Lower spills using the UGPRs we stole above. We need to update num_regs
* for correct scoreboarding calculations.
*/
if (spilled) {
jay_lower_spill(f);
f->shader->num_regs[UGPR] += f->shader->dispatch_width;
}
}