gallivm/nir/tgsi: add multisample texture sampling.
authorDave Airlie <airlied@redhat.com>
Mon, 9 Mar 2020 23:51:17 +0000 (09:51 +1000)
committerMarge Bot <eric+marge@anholt.net>
Wed, 6 May 2020 06:20:37 +0000 (06:20 +0000)
commitae95a08b9c366d5a8558e20c2c3a11558a9c0610
treeee339bc7dbd7c6e5877636896baebee21ee73512
parenteb5919d9d8b09a40e5d5ce38f169b71b67661249
gallivm/nir/tgsi: add multisample texture sampling.

Both paths are required as u_blitter needs the TGSI path.

This just hooks the instructions up to the sampling code.

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