From 97da9e4bf4ab57f0217a9f9c4bf680b5bd228f5a Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Tue, 18 Jan 2022 09:46:25 -0500 Subject: [PATCH] Revert "zink: update gfx_pipeline_state.vertex_strides when necessary" This reverts commit a21d2bfd771ae44bdb4c997e6dce746bf65d66fa. my brain was still on vacation and this doesn't do anything Part-of: --- src/gallium/drivers/zink/zink_context.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/gallium/drivers/zink/zink_context.c b/src/gallium/drivers/zink/zink_context.c index ac318d077b1..38cacca5409 100644 --- a/src/gallium/drivers/zink/zink_context.c +++ b/src/gallium/drivers/zink/zink_context.c @@ -982,8 +982,6 @@ zink_set_vertex_buffers(struct pipe_context *pctx, res->vbo_bind_mask |= BITFIELD_BIT(start_slot + i); update_res_bind_count(ctx, res, false, false); ctx_vb->stride = vb->stride; - if (need_state_change) - ctx->gfx_pipeline_state.vertex_strides[start_slot + i] = vb->stride; ctx_vb->buffer_offset = vb->buffer_offset; /* always barrier before possible rebind */ zink_resource_buffer_barrier(ctx, res, VK_ACCESS_VERTEX_ATTRIBUTE_READ_BIT,