gallium: Fix u_stream_outputs_for_vertices with QUADS
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Sat, 18 Mar 2023 02:59:05 +0000 (22:59 -0400)
committerMarge Bot <emma+marge@anholt.net>
Tue, 21 Mar 2023 18:33:42 +0000 (18:33 +0000)
commit9169025d0653962e0dc6a31e48e5a301a7f20b2a
tree67d6ca8d0e7275d649b7202434f3957be1cd810b
parent69cbc2e7eea599fb63f93373408a589f4345c6de
gallium: Fix u_stream_outputs_for_vertices with QUADS

Per the spec. This helper is only used in nv50 and panfrost, the latter is known
to have a completely broken transform feedback implementation and I'd be
unsurprised if the same is true for nv50. So unsurprising that compatibility
profile interaction was missed.

This is part of the Piglit ext_transform_feedback-tessellation quads puzzle.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Acked-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22013>
src/gallium/auxiliary/util/u_prim.h