zink: use correct define value for reserved slot count in ntv
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Mon, 22 Jun 2020 14:16:21 +0000 (10:16 -0400)
committerMarge Bot <eric+marge@anholt.net>
Mon, 22 Jun 2020 21:19:18 +0000 (21:19 +0000)
commit6e24047573fa2281ab9c068cfb13fd9a77968b1d
tree51f4bd72d1f251ec9abaf5e9869ae0772da34010
parentc323e0ddf3db8d1e38906fc4fa297bf6f26ec3cd
zink: use correct define value for reserved slot count in ntv

this is zero-indexed, so we need to include the zero index in the count

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