draw: add JIT context/functions for tess stages.
authorDave Airlie <airlied@redhat.com>
Mon, 17 Feb 2020 06:58:18 +0000 (16:58 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 28 Feb 2020 08:33:34 +0000 (18:33 +1000)
commit76daf893ea0fdbbb53017d0395be7c23b80c256c
tree5a26790feb644ff5105d8bf4426b4ac414387daf
parent3ecd49611792e558ecc093cfb0776c5104b979fa
draw: add JIT context/functions for tess stages.

This adds the initial draw_tess.h with a define needed
for the interfaces. TCS input array doesn't need to handle
patch inputs so can be smaller.

The TCS context has some dummy values to align the textures/images
properly.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3841>
src/gallium/auxiliary/draw/draw_llvm.c
src/gallium/auxiliary/draw/draw_llvm.h
src/gallium/auxiliary/draw/draw_tess.h [new file with mode: 0644]