projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09c584c
)
aco: don't recurse in sub-dword get_reg_simple()
author
Rhys Perry
<pendingchaos02@gmail.com>
Mon, 27 Apr 2020 19:24:24 +0000
(20:24 +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 7fd15295ea8821ada780e6114ac4d7f7b2abfa16..42a4dcbcebff53314f98646b8cbab7298b20227d 100644
(file)
--- a/
src/amd/compiler/aco_register_allocation.cpp
+++ b/
src/amd/compiler/aco_register_allocation.cpp
@@
-391,6
+391,7
@@
std::pair<PhysReg, bool> get_reg_simple(ra_ctx& ctx,
}
stride = 1; /* stride in full registers */
+ rc = info.rc = RegClass(RegType::vgpr, size);
}
if (stride == 1) {