v3d: Enable perpendicular line caps when line smoothing
authorNeil Roberts <nroberts@igalia.com>
Mon, 22 Jun 2020 10:50:18 +0000 (12:50 +0200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 6 Jul 2020 21:59:16 +0000 (21:59 +0000)
commit137d8f98897de678b0ac6f31e535131c590e4368
tree66fd95dc72713fb1e4d86ee4a0f5dbd3e614efdc
parentee4d51f8b2de004b04d02c7edf66ca0608adf16f
v3d: Enable perpendicular line caps when line smoothing

V3D has a bit to set the line caps to be perpendicular to the line
rather than aligned to the edges of the framebuffer. I don’t know what
the disadvantages are of enabling this, but I noticed by experimentation
that enabling line smoothing on the Intel driver also enables nicer line
caps, so it seems nice to enable it here too.

Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5624>
src/gallium/drivers/v3d/v3dx_emit.c