lavapipe: update vbo indices before propagating stride
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Wed, 30 Aug 2023 13:38:54 +0000 (09:38 -0400)
committerMarge Bot <emma+marge@anholt.net>
Tue, 5 Sep 2023 01:10:42 +0000 (01:10 +0000)
commitf2865308c429286806238f523cdf4861922d6093
treee05bda90708f8f8485b41d4b544d996d75185819
parent4f7fb8341ea8ab48f60f8106a1c0d6b79feb5971
lavapipe: update vbo indices before propagating stride

the vbo index is used to set the stride, so it needs to be updated

affects dEQP-VK.pipeline.pipeline_library.bind_buffers_2.single.stride_0_4_offset_1_0.count_2

Fixes: 76725452239 ("gallium: move vertex stride to CSO")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24954>
src/gallium/frontends/lavapipe/lvp_execute.c