zink: store the last vertex stage to the context during bind
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Tue, 11 May 2021 16:39:42 +0000 (12:39 -0400)
committerMarge Bot <eric+marge@anholt.net>
Wed, 7 Jul 2021 03:06:00 +0000 (03:06 +0000)
commitcc438ba58a2fe7929fa6687e510bcb5dae75d1c0
treeb1bb6de758f0c75ac2f5ecfba40fc27eb16583d1
parent80a377ad81ce7b94b4d3a84fc103962e96d204d8
zink: store the last vertex stage to the context during bind

make this more readily accessible

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