gallium/auxiliary: add the microsoft tessellator and a pipe wrapper.
authorDave Airlie <airlied@redhat.com>
Mon, 17 Feb 2020 06:17:21 +0000 (16:17 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 28 Feb 2020 08:33:34 +0000 (18:33 +1000)
commitbd0188f9eab3370f023243bffe53431ec3019bb7
tree019f69b812a87a29121a755f850bf36dd7a62431
parentbf16ff317256c208e21362191bb93200925ea944
gallium/auxiliary: add the microsoft tessellator and a pipe wrapper.

This adds the same tessellator code that swr uses, swr should
move to using this copy, unfortunately that wasn't trivial on my first
look.

The p_tessellator wrapper wraps it in a form that is a useful interface
for draw.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3841>
src/gallium/auxiliary/Makefile.sources
src/gallium/auxiliary/meson.build
src/gallium/auxiliary/tessellator/p_tessellator.cpp [new file with mode: 0644]
src/gallium/auxiliary/tessellator/p_tessellator.h [new file with mode: 0644]
src/gallium/auxiliary/tessellator/tessellator.cpp [new file with mode: 0644]
src/gallium/auxiliary/tessellator/tessellator.hpp [new file with mode: 0644]