Skip to content

u_primconvert: support primitive-restart

Erik Faye-Lund requested to merge kusma/mesa:u_primconvert-prim_restart into master

Here's some patches to support translating arbitrary primitive-restart indices to the max-index in u_primconvert. This is needed for the not-yet-upstream D3D12 driver. Other hardware that only supports the D3D/GLES-style max-index restart-value might also benefit from this.

Edited by Erik Faye-Lund

Merge request reports