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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user