zink: handle shader io vars more generically for use with gs
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Wed, 14 Oct 2020 14:29:30 +0000 (10:29 -0400)
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fri, 16 Oct 2020 13:15:20 +0000 (09:15 -0400)
commit423a342ae7486173fc7ef26a3776de1aafcf91bd
treebc2e75ad25b29f1f392adfd163cd0245199b6438
parent182f7f9ae8e492355d6e98bc88d52a761b2b2996
zink: handle shader io vars more generically for use with gs

geometry shaders have more inputs and use a lot of the same codepaths as
vertex shaders, so these changes add the inputs and remove checks for vertex-only
shaders

Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7139>
src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c