v3dv: drop unused stride field from v3dv_pipeline_vertex_binding
This is unused sincef4d426fae6
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:
@@ -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;
|
||||
|
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user