aco: add missing adjust_max_used_regs()

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/4772>
This commit is contained in:
Rhys Perry
2020-04-27 20:42:24 +01:00
committed by Marge Bot
parent 99ca96fbf5
commit 307aca83a2
@@ -385,6 +385,7 @@ std::pair<PhysReg, bool> get_reg_simple(ra_ctx& ctx,
if (reg_found) {
PhysReg res{entry.first};
res.reg_b += i;
adjust_max_used_regs(ctx, rc, entry.first);
return {res, true};
}
}