Skip to content

st,gallium: remove start_slot from set_vertex_buffers()

Yogesh Mohan Marmithu requested to merge yogeshmohan/mesa:remove_start_slot into main

This patch removes start_slot from set_vertex_buffers() as suggested in #8142 (closed)

compilation testing: all gallium drivers, nine frontend compilation has been tested. d3d10umd compilation has not been tested

driver, frontend testing: only llvmpipe and radeonsi driver was tested running game

only the nine frontend changes are complex. All other changes are easy. nine front end was using start slot and also using multi context.

nine frontend code changes: In update_vertex_elements() and update_vertex_buffers(), the vertex buffers or streams are ordered removing the holes. In update_vertex_elements() the vertex_buffer_index is updated for pipe driver to match the ordered list.

NOTE: nine frontend code changes are not tested. I am marking this patch as draft since nine frontend changes are not tested. Please review the code changes.

Merge request reports

Loading