freedreno/a6xx: use nonbinning VS when GS is used
authorJonathan Marek <jonathan@marek.ca>
Sat, 6 Jun 2020 15:16:16 +0000 (11:16 -0400)
committerJonathan Marek <jonathan@marek.ca>
Mon, 8 Jun 2020 20:23:05 +0000 (16:23 -0400)
commit6cc95abb273a130fb396f4f0dd2b233c534fd008
treeb8f634385c8c655ef842acaf4098baf5f3f27860
parent88d5917cc1c5bd0dec26147a8779b50e94e56dd1
freedreno/a6xx: use nonbinning VS when GS is used

The current "ds = state->bs" seems broken, and the "vs = state->bs" is
unnecessary (already set above). Since it was added as part of a GS-related
patch, I think this is what was intended.

Note: tesselation disables GMEM rendering so we shouldn't have to worry
about hs/ds + binning interaction.

Fixes: 0eebedb6190fdab8956769 ("freedreno/a6xx: Emit program state for GS")
Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5370>
src/gallium/drivers/freedreno/a6xx/fd6_program.c