v3dv: drop unused stride field from v3dv_pipeline_vertex_binding

This is unused since f4d426fae6 where we added support for dynamic
state vertex strides.

Fixes: f4d426fae6 ('v3dv: provide implementation for vkCmdBindVertexBuffers2')
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29425>
This commit is contained in:
Iago Toral Quiroga
2024-05-27 12:44:19 +02:00
parent a9f4931a91
commit 6d2edd2585
2 changed files with 1 additions and 5 deletions

View File

@@ -2273,11 +2273,8 @@ struct v3dv_pipeline {
bool negative_one_to_one;
/* Accessed by binding. So vb[binding]->stride is the stride of the vertex
* array with such binding
*/
/* Indexed by vertex binding. */
struct v3dv_pipeline_vertex_binding {
uint32_t stride;
uint32_t instance_divisor;
} vb[MAX_VBS];
uint32_t vb_count;

View File

@@ -685,7 +685,6 @@ v3dX(pipeline_pack_compile_state)(struct v3dv_pipeline *pipeline,
const VkVertexInputBindingDescription *desc =
&vi_info->pVertexBindingDescriptions[i];
pipeline->vb[desc->binding].stride = desc->stride;
pipeline->vb[desc->binding].instance_divisor = desc->inputRate;
}