radv/gfx10: fix NGG streamout with triangle strips for VS
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 17 Sep 2019 16:52:02 +0000 (18:52 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 2 Oct 2019 16:09:35 +0000 (18:09 +0200)
commite19d1ee2d1f0567512c831d02fafb625bbbddbd8
tree02f1d04d2a1c3d403c7ce6a2663450bb8c83d6eb
parent08ab13d3400891cd6a0e7d97ff1e292cc927c7c9
radv/gfx10: fix NGG streamout with triangle strips for VS

The number of vertices has to be adjusted with the output primitive
type.

This fixes dEQP-VK.transform_feedback.simple.triangle_strip_*.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_nir_to_llvm.c
src/amd/vulkan/radv_pipeline.c
src/amd/vulkan/radv_private.h
src/amd/vulkan/radv_shader.h