Skip to content

mesa: optimize VAO state management by moving code out of draw and st_validate_state functions

Marek Olšák requested to merge mareko/mesa:remove-set-draw-vao into main

This improves the score of the first Viewperf2020/Catia test by 7.5%.

The goal is to simplify the glDraw* path without state changes or with only VBO state changes by moving state update code from those codepaths to functions that are executed less frequently (e.g. GL functions changing states), or to st_update_array.

Dependencies (that are included in this MR):

Merge request reports