Skip to content

Disable NV_primitive_restart on v3d

V3D can only support primitive restart with fixed values for the primitive restart index. This is the subset of primitive restart that is required for GLES 3.0.

Mesa and Gallium currently don’t have a way for the driver to advertise support for this subset. Instead the drivers all advertise the NV_primitive_restart extension and this is used to determine support for GLES 3.0. These patches add a Gallium cap for the subset and a bool to gl_constants to be able to advertise it.

Merge request reports