radeonsi: extract si_get_prev_stage_nir_shader to be shared with aco
authorQiang Yu <yuq825@gmail.com>
Thu, 6 Jul 2023 02:09:34 +0000 (10:09 +0800)
committerMarge Bot <emma+marge@anholt.net>
Mon, 24 Jul 2023 01:49:21 +0000 (01:49 +0000)
commit7daa0857c0a84f4e9bb10bee15a43afcd0b5fcea
tree756b574683d7d436b42420e49a7adb6eff40bead
parentec17cc345f9eff059947956e2c49318e4a549e18
radeonsi: extract si_get_prev_stage_nir_shader to be shared with aco

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24204>
src/gallium/drivers/radeonsi/si_shader.c
src/gallium/drivers/radeonsi/si_shader_internal.h
src/gallium/drivers/radeonsi/si_shader_llvm.c