zink: fix non-dynamic vertex stride update flagging
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Tue, 26 Apr 2022 13:02:57 +0000 (09:02 -0400)
committerMarge Bot <emma+marge@anholt.net>
Wed, 18 May 2022 02:29:18 +0000 (02:29 +0000)
commitb18448e7acfc765ee95505c7cd5e2ce6e6fc36cc
tree3d7f50d6d0f4bc6a95e983f7c487f9cba3eab4ff
parentca1d98df995a8fe3948a5bf7b1316d0184ffeb99
zink: fix non-dynamic vertex stride update flagging

without dynamic vertex input, pipeline vertex state must be recalculated
if buffer strides change or the enabled buffer mask changes in order
to accurately handle dynamic state stride VUs

cc: mesa-stable

fixes:
spec@!opengl 1.1@array-stride

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