freedreno/ir3: Fix GS clip-plane lowering
authorRob Clark <robdclark@chromium.org>
Mon, 4 Jul 2022 15:32:37 +0000 (08:32 -0700)
committerMarge Bot <emma+marge@anholt.net>
Fri, 8 Jul 2022 20:32:35 +0000 (20:32 +0000)
commit8f77187e3e27b4bac6172d2b4308737762aa6b48
tree6d51feb1dc7d4e4a9652ce8822d82a7eba619d99
parentbbcd04922f66fbac5e7120e056cfd34e68108cbf
freedreno/ir3: Fix GS clip-plane lowering

And also handle tess.  In all cases, we want to use the VS lowering pass
on the last geometry stage.  We don't make a special exception for GS
like other drivers, because GS gets lowered into a quasi-VS.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17341>
src/freedreno/ir3/ir3_nir.c