gallivm/nir: add an interpolation interface.
authorDave Airlie <airlied@redhat.com>
Fri, 27 Mar 2020 06:33:28 +0000 (16:33 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 19 May 2020 00:26:46 +0000 (10:26 +1000)
commitae5f6ddc0529fcf29e26bc0c35ffa1e6ea2eb7b0
tree2f319c98780d4962ea4b3fe48531d99f2709a6aa
parent53fcb30c12ebb34329086ea4f8e0165d62c61302
gallivm/nir: add an interpolation interface.

This supports interpolating at a certain location, offsets,
sample or centroid.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5050>
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
src/gallium/auxiliary/gallivm/lp_bld_tgsi.h