aco: Fix NGG GS assert failure from the WG scan.
authorTimur Kristóf <timur.kristof@gmail.com>
Fri, 27 Nov 2020 20:31:50 +0000 (21:31 +0100)
committerMarge Bot <eric+marge@anholt.net>
Tue, 1 Dec 2020 15:04:58 +0000 (15:04 +0000)
commit94f8cb29ee7c615e74b4a85e14ac9e22c5dd7f2a
treeefd8b913462c628346709e7f7fedfe3ba7aea434
parentc2974a1d45c7e922bb36571cf6873f368dc639a6
aco: Fix NGG GS assert failure from the WG scan.

There was a temp which was defined in a branch but used outside,
without a phi.

Fixes: 62b5012ec35358a7c109746bfe1da33ca1b04f24
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7817>
src/amd/compiler/aco_instruction_selection.cpp