gallivm/llvmpipe: add opaque pointers support to sampler
authorDave Airlie <airlied@redhat.com>
Mon, 26 Sep 2022 04:11:30 +0000 (14:11 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 4 Oct 2022 20:20:11 +0000 (06:20 +1000)
commit9fe8e5ccf7a18c02634be4e80bb15e854e95e78a
tree4f35995e5d900268d81db65504b8dc54f2ae4814
parent3d242c044758292712e1876ba3afdd3e8f06d5df
gallivm/llvmpipe: add opaque pointers support to sampler

This adds explicit context types wiring through the sampler code

Reviewed-by: Mihai Preda <mhpreda@gmail.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18947>
12 files changed:
src/gallium/auxiliary/draw/draw_llvm.c
src/gallium/auxiliary/draw/draw_llvm_sample.c
src/gallium/auxiliary/gallivm/lp_bld_nir.h
src/gallium/auxiliary/gallivm/lp_bld_nir_soa.c
src/gallium/auxiliary/gallivm/lp_bld_sample.c
src/gallium/auxiliary/gallivm/lp_bld_sample.h
src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c
src/gallium/auxiliary/gallivm/lp_bld_tgsi.h
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
src/gallium/drivers/llvmpipe/lp_state_cs.c
src/gallium/drivers/llvmpipe/lp_state_fs.c
src/gallium/drivers/llvmpipe/lp_tex_sample.c