aco: don't allow SGPRs on logical phis
authorDaniel Schürmann <daniel@schuermann.dev>
Tue, 16 Jun 2020 09:03:52 +0000 (10:03 +0100)
committerDaniel Schürmann <daniel@schuermann.dev>
Tue, 16 Jun 2020 13:46:19 +0000 (14:46 +0100)
commit8006feda09869a0feedd33714358821e81d1f762
tree53c28238dd7ad15d80c3b437199de54f75d204f4
parent0e47fe3fa216e5ce76b3e3a289c986539d7d34c6
aco: don't allow SGPRs on logical phis

aco_validate() is called after phi lowering, now.

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