radv/gfx9: do not load VGPR1 when GS uses points or lines
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 5 Jan 2018 16:18:52 +0000 (17:18 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 8 Jan 2018 20:24:53 +0000 (21:24 +0100)
commitb462ceb482471dd4aacdd5fa7cef9fe25f823d70
tree5f8fe2dea89a93201c05d191e53eea37fc73cfde
parenta3c2a86757a3ca25453b7143f1c774c5f7fe499e
radv/gfx9: do not load VGPR1 when GS uses points or lines

VGPR1 is only needed for topology that needs 3 offsets like
triangles or quads.

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