radv/gfx10: fix the vertex order for triangle strips emitted by a GS
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sat, 30 Nov 2019 08:03:31 +0000 (09:03 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 4 Dec 2019 07:28:57 +0000 (08:28 +0100)
commit4cacba0c86c75f7b022eedbdb3f12957f495e893
treecc5b9003f5b352880ff2efde6ec95f7727b14c53
parentdac6bd29ae8440c27ac687065ace75bdb8e4b71f
radv/gfx10: fix the vertex order for triangle strips emitted by a GS

My fix wasn't totally correct as pointed out by Marek.
Ported from RadeonSI.

Fixes: deafe4cc587 ("radv/gfx10: fix primitive indices orientation for NGG GS")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_nir_to_llvm.c