gallivm/nir: add tessellation i/o support.
authorDave Airlie <airlied@redhat.com>
Mon, 17 Feb 2020 06:49:09 +0000 (16:49 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 28 Feb 2020 08:33:34 +0000 (18:33 +1000)
commit3ecd49611792e558ecc093cfb0776c5104b979fa
tree962661a75d3fe8338b58164ae3b81b796a0a900c
parent70a7603b6396fed615adc9ba06c1f0f09b5ac9ac
gallivm/nir: add tessellation i/o support.

This add support for the tessellation i/o callbacks.

Tessellation requires another level of indirect indexing,
and allows fetches from shader outputs.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3841>
src/gallium/auxiliary/gallivm/lp_bld_nir.c
src/gallium/auxiliary/gallivm/lp_bld_nir.h
src/gallium/auxiliary/gallivm/lp_bld_nir_soa.c