gallium: decompose quad strips into quads if supported
authorantonino <antonino.maniscalco@collabora.com>
Mon, 6 Feb 2023 14:44:01 +0000 (15:44 +0100)
committerMarge Bot <emma+marge@anholt.net>
Fri, 24 Mar 2023 13:11:12 +0000 (13:11 +0000)
commit8e9262fefdfc2adbc20b92894037534a282c420a
tree30cbfb12ef2c86c964bbcfe4e18f313d236829f7
parentd4a6c97779b851aac66da4369500ca53d4cf056d
gallium: decompose quad strips into quads if supported

This changes gallium to decompose quad strips into quads instead of triangles
when the driver advertises support for them.

This should result in a more correct result when those are drawn
with the line raster primitve (avoids showing the diagonal line).

Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21987>
src/gallium/auxiliary/indices/u_indices.c
src/gallium/auxiliary/indices/u_indices_gen.py