zink: fix variable locations in manual xfb emission
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Sat, 21 May 2022 22:53:59 +0000 (18:53 -0400)
committerMarge Bot <emma+marge@anholt.net>
Fri, 10 Jun 2022 02:35:12 +0000 (02:35 +0000)
commite9d28cbe3fbe56076f85e9e309211d831368d1fc
tree32baf40d1b2cd521beec4ae6cbc77be750d8eb34
parentfd516b0a9fb537b09775e09473618f42f02c55ca
zink: fix variable locations in manual xfb emission

the last output isn't always only consuming 1 slot, so ensure that the
xfb outputs begin at the appropriate place

cc: mesa-stable

Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16669>
src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c