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>
This commit is contained in:
Mike Blumenkrantz 2020-06-22 10:16:21 -04:00 committed by Marge Bot
parent c323e0ddf3
commit 6e24047573
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ static unsigned slot_pack_map[] = {
[VARYING_SLOT_VIEW_INDEX] = 9, /* input/output */
[VARYING_SLOT_VIEWPORT_MASK] = 10, /* output only */
};
#define NTV_MIN_RESERVED_SLOTS 10
#define NTV_MIN_RESERVED_SLOTS 11
struct ntv_context {
struct spirv_builder builder;