aco: fix vadd32() when b is neither a constant nor temporary
authorRhys Perry <pendingchaos02@gmail.com>
Wed, 18 Aug 2021 12:29:59 +0000 (13:29 +0100)
committerMarge Bot <eric+marge@anholt.net>
Wed, 13 Oct 2021 05:13:10 +0000 (05:13 +0000)
commit1988a784300f616ec182c2db6619f5280406d72b
tree9cd3247c29c5cbb262ad62369c7f975efcf0462b
parent50c0451424a1bcf8e6a69780520a85ff684508b5
aco: fix vadd32() when b is neither a constant nor temporary

This will be useful for compiling vertex shader prologs, where we
basically use ACO as an assembler.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11717>
src/amd/compiler/aco_builder_h.py