radv/gfx10: improve performance for TES using PrimID but not exporting it
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 8 Jan 2020 07:55:16 +0000 (08:55 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 13 Jan 2020 07:14:47 +0000 (08:14 +0100)
commitecace268535993bce954ee4e7516f9bbc60acc46
treefd5f39a96417b7ffaf81f26eb5ec04d47279ab2a
parent1db276ba23805984197493c858187acd782c2e9f
radv/gfx10: improve performance for TES using PrimID but not exporting it

This field is for the primitive ID export to the fragment shader.
Ported from RadeonSI.

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