zink: add push constant value to indicate whether the current draw is indexed
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Wed, 19 Aug 2020 21:58:22 +0000 (17:58 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 16 Feb 2021 00:52:32 +0000 (00:52 +0000)
commitbf4fac51ee63ca3cb75a01fd5e18eddccf2d3fac
tree4a7fe830aa62520182826620e030bb9ae147fdfe
parent59aae6db9ffae056b42ba8dd5c3cfefb37472ec3
zink: add push constant value to indicate whether the current draw is indexed

due to semantic differences between gl and vk variables, this is going to be
necessary for gl_BaseVertex

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