diff options
author | Rhys Perry <[email protected]> | 2020-04-27 20:42:24 +0100 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-04-28 23:16:55 +0000 |
commit | 307aca83a278938ec4a4932b7fa7dc6c8e189e60 (patch) | |
tree | 23c5b07f64cdacec40935fe9ada9f954350f9c72 /src | |
parent | 99ca96fbf58975d49e4ad131f907c5b01e12db85 (diff) |
aco: add missing adjust_max_used_regs()
Signed-off-by: Rhys Perry <[email protected]>
Reviewed-by: Daniel Schürmann <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4772>
Diffstat (limited to 'src')
-rw-r--r-- | src/amd/compiler/aco_register_allocation.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/compiler/aco_register_allocation.cpp b/src/amd/compiler/aco_register_allocation.cpp index e702e09059d..8d6971e1c4d 100644 --- a/src/amd/compiler/aco_register_allocation.cpp +++ b/src/amd/compiler/aco_register_allocation.cpp @@ -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}; } } |