Skip to content

gallium: remove vertices_per_patch, add pipe_context::set_patch_vertices

Marek Olšák requested to merge mareko/mesa:gallium-patch-vertices into main

We would like draw-only display lists to have immutable draw info and this is the only GL non-draw state in pipe_draw_info (not counting view_mask).

It also allows removing some code from draw_vbo for tessellation.

This seems to decrease CPU overhead thanks to the unpacked index_size.

Edited by Marek Olšák

Merge request reports