Skip to content

gallium/util: Support POLYGON in u_stream_outputs_for_vertices

Alyssa Rosenzweig requested to merge alyssa/mesa:just-polygons into master

u_decomposed_prims_for_vertices cannot support POLYGON, but POLYGON is trivial to support as a special case directly (since we have the number of vertices directly).

Fixes aborts in Panfrost in apps using GL_POLYGON.

Signed-off-by: Alyssa Rosenzweig alyssa.rosenzweig@collabora.com Fixes: e881aa8c ("gallium/util: Add u_stream_outputs_for_vertices helper")

Cc @anholt

Merge request reports