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