Skip to content

gallium: move stride from set_vertex_buffers -> pipe_vertex_element

Mike Blumenkrantz requested to merge zmike/mesa:unmitigated-catastrophe into main

this moves stride into the CSO, which is more optimal for a number of drivers (mainly zink)

I've split out all the changes into per-component patches which are smaller and can be easily (re)viewed in the gitlab UI. once approved, they will be squashed into a single patch.

current issues:

  • I can't compile d3d10umd, so I can't determine the completeness of changes there (cc @brianp @jrfonseca @sroland)
  • etnaviv fails the manual ci jobs so I need someone to tell me what's missing there (cc @austriancoder)

future todo:

  • seems like there's some potential for more rework/optimization in mesa/st now that updating is split the other way

everything else is passing ci so I assume it's perfect

Merge request reports