aco: Store VS outputs correctly when tessellation is used.
authorTimur Kristóf <timur.kristof@gmail.com>
Tue, 18 Feb 2020 16:51:05 +0000 (17:51 +0100)
committerMarge Bot <eric+marge@anholt.net>
Wed, 11 Mar 2020 08:34:10 +0000 (08:34 +0000)
commit57a7d58c5d7651ac10a41f08afd02f84064abbb3
treeb6a446c0bdfc5437a35a27e84099809f3ee977eb
parent7b7f196fbc820b4f096f80428fb980dc04243255
aco: Store VS outputs correctly when tessellation is used.

When tessellation is used, the VS runs on the HW LS stage (merged
into HS on GFX9-10). This commit enables such VS to store its
outputs properly in LDS so that the TCS can load them as its
per-vertex inputs.

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/3964>
src/amd/compiler/aco_instruction_selection.cpp