gallivm/nir: add support for indirect image loading
authorDave Airlie <airlied@redhat.com>
Tue, 16 Jun 2020 02:50:41 +0000 (12:50 +1000)
committerMarge Bot <eric+marge@anholt.net>
Thu, 2 Jul 2020 04:12:17 +0000 (04:12 +0000)
commite6f7fe33244fd4f537b3055c1b51037825c0a48e
treeb941fba551a686a81967bd11c7d68e4bb2230046
parentbc1ac7dc3f36ee8a0f5741ea01767dcfe18a22cc
gallivm/nir: add support for indirect image loading

This adds support for indirect image loading, image stores
can cause images with different formats to be stored to,
so this operates like the texture code now.

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