aco: fix WQM coalescing
authorDaniel Schürmann <daniel@schuermann.dev>
Thu, 14 May 2020 11:40:55 +0000 (12:40 +0100)
committerMarge Bot <eric+marge@anholt.net>
Thu, 14 May 2020 16:30:19 +0000 (16:30 +0000)
commit66e3c74f9c7ffdd7687d4304238b50c3ba35ef47
treec40abc04a85271a412cb923b363a2b3a15b07e57
parent4151bddab5d3dc082ac689e4d3a96f42fa4718ec
aco: fix WQM coalescing

get_reg_specified() doesn't handle special registers like SCC.
Fixes: a5fc96b533418dc2d68f17f3f19ac5f82d59b978 ('aco: coalesce parallelcopies during register allocation')
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5036>
src/amd/compiler/aco_register_allocation.cpp