panfrost: Fix provoking vertex selection for lines
authorBoris Brezillon <boris.brezillon@collabora.com>
Tue, 1 Dec 2020 08:18:18 +0000 (09:18 +0100)
committerMarge Bot <eric+marge@anholt.net>
Wed, 9 Dec 2020 16:54:19 +0000 (16:54 +0000)
commite95465ae0eff1fb96b919427d9813f8543371626
treeb968a176f742efd85c57cbb5afd7081581361027
parent6b9f943df678a811eab572a0eae389ddf664f830
panfrost: Fix provoking vertex selection for lines

For line primitives, the provoking vertex selection is done through the
DRAW.flat_shading_vertex field and PRIMITIVE.first_provoking_vertex must
be set to true.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7923>
.gitlab-ci/traces-panfrost.yml
src/gallium/drivers/panfrost/pan_context.c