radeonsi: allow generating VS prologs with 0 inputs
authorMarek Olšák <marek.olsak@amd.com>
Fri, 13 Dec 2019 02:09:50 +0000 (21:09 -0500)
committerMarge Bot <eric+marge@anholt.net>
Mon, 16 Dec 2019 20:06:07 +0000 (20:06 +0000)
commit378444ce90b073d639c7c6877bfb062a35ac04cd
tree5f07819bc472fcbbfc5143f32656b958f7f39e5b
parent4846aeaf572db40e612c042205d45174aa6e2d5f
radeonsi: allow generating VS prologs with 0 inputs

If "ls_vgpr_fix" is set, we use a prolog, but it can have 0 inputs.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3095>
src/gallium/drivers/radeonsi/si_shader.c
src/gallium/drivers/radeonsi/si_shader.h