mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-09 23:08:18 +02:00
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:
parent
5cff4cca3a
commit
e900ac1750
1 changed files with 0 additions and 4 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue