aco: rewrite graph coloring in spiller
authorRhys Perry <pendingchaos02@gmail.com>
Tue, 7 Jul 2020 12:10:38 +0000 (13:10 +0100)
committerMarge Bot <eric+marge@anholt.net>
Thu, 16 Jul 2020 16:22:57 +0000 (16:22 +0000)
commit47d7e1e6628616f678b353d29daa23595d6a7c42
tree617cffa97921f50843c3d46f8e207cec0a201ce6
parent5a941f4d6dc1ea1d08ba3d9bfe4c5add97b0fde4
aco: rewrite graph coloring in spiller

I don't think this is much of an optimization in the typical case, but for
very complex shaders this should work much better.

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/5805>
src/amd/compiler/aco_spill.cpp