turnip: emit vb stride dynamic state when it is dirty
authorDanylo Piliaiev <dpiliaiev@igalia.com>
Wed, 2 Jun 2021 11:15:46 +0000 (14:15 +0300)
committerMarge Bot <eric+marge@anholt.net>
Wed, 2 Jun 2021 21:38:19 +0000 (21:38 +0000)
commit551d7fddfba1c88cde64e72b12013c9861712f29
treefe643041eac0f811a439049790d1e4c2ecbf1ab6
parentccfde5089ef37cbd94d0296908ad246d757b2285
turnip: emit vb stride dynamic state when it is dirty

Due to incorrect condition we never emitted vb stride
if state was dynamically set.

Fixes vertex explosion with Zink.

See https://gitlab.freedesktop.org/mesa/mesa/-/issues/4738

Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11133>
src/freedreno/vulkan/tu_cmd_buffer.c