From 977ef3b388c5a41c81369b03dc02c4867ffae4fc Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Wed, 30 Aug 2023 09:49:30 -0400 Subject: [PATCH] lavapipe: fix pipeline stride propagation this is on the cso now affects dEQP-VK.pipeline.fast_linked_library.extended_dynamic_state.before_good_static.large_stride Fixes: 76725452239 ("gallium: move vertex stride to CSO") Part-of: --- src/gallium/frontends/lavapipe/lvp_execute.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/gallium/frontends/lavapipe/lvp_execute.c b/src/gallium/frontends/lavapipe/lvp_execute.c index 4e4c93fd468..a3508cb7502 100644 --- a/src/gallium/frontends/lavapipe/lvp_execute.c +++ b/src/gallium/frontends/lavapipe/lvp_execute.c @@ -975,9 +975,10 @@ static void handle_graphics_pipeline(struct lvp_pipeline *pipeline, if (ps->vi) { u_foreach_bit(a, ps->vi->attributes_valid) { uint32_t b = ps->vi->attributes[a].binding; - state->velem.velems[a].src_stride = ps->vi->bindings[b].stride; + state->vb_strides[b] = ps->vi->bindings[b].stride; + state->vb_strides_dirty = true; + state->ve_dirty = true; } - state->vb_dirty = true; } }