aco: check get_reg_specified() on register hints
authorDaniel Schürmann <daniel@schuermann.dev>
Sat, 6 Feb 2021 17:40:21 +0000 (18:40 +0100)
committerMarge Bot <eric+marge@anholt.net>
Fri, 12 Feb 2021 19:00:18 +0000 (19:00 +0000)
commit171fbe3ae1b0f568046813b8029757b8ccce35a7
tree889ac5c096c8ffa7f68234a77d87394365a0e149
parentdd16e21e97025857266edac6640c7a55f162413a
aco: check get_reg_specified() on register hints

This ensures that max_used_sgpr is adjusted accordingly.

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8921>
src/amd/compiler/aco_register_allocation.cpp