projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99ca96f
)
aco: add missing adjust_max_used_regs()
author
Rhys Perry
<pendingchaos02@gmail.com>
Mon, 27 Apr 2020 19:42:24 +0000
(20:42 +0100)
committer
Marge Bot
<eric+marge@anholt.net>
Tue, 28 Apr 2020 23:16:55 +0000
(23:16 +0000)
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>
src/amd/compiler/aco_register_allocation.cpp
patch
|
blob
|
history
diff --git
a/src/amd/compiler/aco_register_allocation.cpp
b/src/amd/compiler/aco_register_allocation.cpp
index e702e09059dcc06db9091ced8c6090c1660029fb..8d6971e1c4dc545c0b1eda5dafe539fcbd01e216 100644
(file)
--- 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};
}
}