mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
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:
parent
c323e0ddf3
commit
6e24047573
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue