mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 00:00:11 +01:00
aco/ra: use adjust_max_used_regs() in compact_relocate_vars()
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Daniel Schürmann <daniel@schuermann.dev> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6489>
This commit is contained in:
parent
44e7057304
commit
f8bf6b9e0a
1 changed files with 2 additions and 0 deletions
|
|
@ -1353,6 +1353,8 @@ PhysReg compact_relocate_vars(ra_ctx& ctx, const std::vector<IDAndRegClass>& var
|
|||
space_reg = next_reg;
|
||||
}
|
||||
|
||||
adjust_max_used_regs(ctx, var.info.rc, next_reg);
|
||||
|
||||
next_reg = next_reg.advance(var.info.rc.size() * 4);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue