zink: fix slot mapping for legacy gl io with tess stages
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fri, 12 Feb 2021 17:27:47 +0000 (12:27 -0500)
committerMarge Bot <eric+marge@anholt.net>
Mon, 15 Feb 2021 20:47:14 +0000 (20:47 +0000)
commite3428419fb9ccd01e8f1b1f7f2b9d864a36f38d6
treefb4fa00c04f25f71a450e85ae9c2827db89e55fd
parent2b6950c3fdaf7554248857cfac1236003f5b04ad
zink: fix slot mapping for legacy gl io with tess stages

e.g., gl_BackColor is a thing

Fixes: aec03553e1b ("zink: fix tess shader i/o variables")

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9019>
src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c