zink: add line-smooth lowering passes
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 16 Nov 2022 15:28:06 +0000 (16:28 +0100)
committerMarge Bot <emma+marge@anholt.net>
Fri, 16 Dec 2022 13:57:19 +0000 (13:57 +0000)
commit50d89663c5160f2dfd07795671a326760de0c37c
treeb1ffa58aca3f992d86b5124c3fb175e8b15a83c1
parent23f1294f425f1ae89d1769b4b48edb007dc77b2a
zink: add line-smooth lowering passes

These passes implements basically the same logic as draw_pipe_aaline.c
does, but using geometry shaders instead of doing it CPU-side.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19847>
src/gallium/drivers/zink/zink_compiler.c
src/gallium/drivers/zink/zink_types.h