mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 08:40:11 +01:00
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:
parent
f2865308c4
commit
977ef3b388
1 changed files with 3 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue