gallivm: rework translator to allow per-impl work.
authorDave Airlie <airlied@redhat.com>
Tue, 27 Oct 2020 00:00:14 +0000 (10:00 +1000)
committerMarge Bot <emma+marge@anholt.net>
Tue, 12 Sep 2023 01:57:50 +0000 (01:57 +0000)
commitb8e93abd113941debba723b1b1284c581505e6f1
tree8425cf5d7ef9284e8773d738644afdf5d53f1cb7
parent3cd20feed07530e09b64bd81901babc9a697b107
gallivm: rework translator to allow per-impl work.

This allows a function implementation to be targetted, this will
only be used by the compute shader paths, so keep a compat path
for all the others.

Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24687>
src/gallium/auxiliary/gallivm/lp_bld_nir.c
src/gallium/auxiliary/gallivm/lp_bld_nir.h
src/gallium/auxiliary/gallivm/lp_bld_nir_aos.c
src/gallium/auxiliary/gallivm/lp_bld_nir_soa.c