gallivm/nir: refactor image operations for indirect support.
authorDave Airlie <airlied@redhat.com>
Tue, 16 Jun 2020 02:49:30 +0000 (12:49 +1000)
committerMarge Bot <eric+marge@anholt.net>
Thu, 2 Jul 2020 04:12:17 +0000 (04:12 +0000)
commit6e25a5a3756546b49bfaf53a2b16cc9b6d313928
tree8f0d9e63cc6295a66d8c05ef0a05e4bc315b673a
parent3ca3b07fc1b46824fb7589fe06f9455d9f85bb12
gallivm/nir: refactor image operations for indirect support.

This just refactors the image code, so that outdata is passed
explicitly, and refactors the internal handling of NONE formats.

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