mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 21:50:12 +01:00
aco: don't recurse in sub-dword get_reg_simple()
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:
parent
09c584caeb
commit
24116a8a56
1 changed files with 1 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue