gallivm/nir: add texture unit indexing
authorDave Airlie <airlied@redhat.com>
Fri, 27 Mar 2020 04:49:37 +0000 (14:49 +1000)
committerMarge Bot <eric+marge@anholt.net>
Thu, 2 Jul 2020 04:12:17 +0000 (04:12 +0000)
commit9172e405ef656fb26140237395abc54d9ac97e30
tree6ba668c948237f00169ed26882055d1c997f4ade
parent52a050ea0ae0197529082dcbaee7353f10795b0c
gallivm/nir: add texture unit indexing

This hooks up the index from NIR into the sampler code.

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