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: 7672545223 ("gallium: move vertex stride to CSO")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24954>
This commit is contained in:
Mike Blumenkrantz 2023-08-30 09:49:30 -04:00 committed by Marge Bot
parent f2865308c4
commit 977ef3b388

View file

@ -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;
}
}