radv/gfx10: fix VS input VGPRs with the legacy path
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 23 Jul 2019 09:52:36 +0000 (11:52 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 24 Jul 2019 06:23:21 +0000 (08:23 +0200)
commitea337c8b7e9e987e7415f56e30f5707976b78e74
tree61d9a494702444a7c742a7154922090dbd81b7fd
parent2631fd3b0bf5027ff904bf0e11ca271bda14a4b1
radv/gfx10: fix VS input VGPRs with the legacy path

For some reasons, InstanceID is VGPR3 although StepRate0 is set to 1.

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_shader.c