anv: Use the same re-order mode for streamout as for GS
authorJason Ekstrand <jason@jlekstrand.net>
Fri, 10 Jul 2020 18:26:16 +0000 (13:26 -0500)
committerMarge Bot <eric+marge@anholt.net>
Mon, 26 Apr 2021 15:13:19 +0000 (15:13 +0000)
commit22b8bcda2c42cb6a8a9d6cc4f3aa20c8d18041b8
treeb38d70143163ba713b3c215a8285d40af16a382c
parentecac7f3da1a81b96e7184d9ea0b6bf582693d83c
anv: Use the same re-order mode for streamout as for GS

This makes the vertex order of TRISTRIP and TRISTRIP_ADJ primitves
consistent between XFB output and GS input.  Technically, the Vulkan
spec allows us to XFB out in whatever order we want but being consistent
with GS inputs is probably nicer to apps.

Fixes: 36ee2fd61c8 "anv: Implement the basic form of VK_EXT_transform_feedback"
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10460>
src/intel/vulkan/genX_pipeline.c