Skip to content
Commit 166a3ae3 authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig Committed by Dylan Baker
Browse files

gallium/util: Support POLYGON in u_stream_outputs_for_vertices



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.

Fixes: e881aa8c ("gallium/util: Add u_stream_outputs_for_vertices helper")
Signed-off-by: default avatarAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Revewied-by: default avatarEric Anholt <eric@anholt.net>
(cherry picked from commit a37822f5)
parent c5e203ff
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment