aco/ra: refactor affinities into assignment struct
authorDaniel Schürmann <daniel@schuermann.dev>
Tue, 22 Jun 2021 10:20:07 +0000 (12:20 +0200)
committerMarge Bot <eric+marge@anholt.net>
Thu, 30 Sep 2021 09:10:07 +0000 (09:10 +0000)
commitd7cb169819a8ff9e04047069bf1b7542e9a1b392
tree706470c78da58b674ddefb00886de3422162a757
parent5afcc17f50bf32c9664a6ee000916ea17d755727
aco/ra: refactor affinities into assignment struct

This lets us get rid of an unordered_map<>.

No fossil-db changes.

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