radeonsi: add si_nir_lower_resource pass
authorQiang Yu <yuq825@gmail.com>
Tue, 16 Aug 2022 10:29:03 +0000 (18:29 +0800)
committerQiang Yu <yuq825@gmail.com>
Mon, 19 Dec 2022 01:20:50 +0000 (09:20 +0800)
commit5bc5cae571a3edd4ad4e906ab45528817b4fb119
tree3175bd66f4b24bc76f8cdac7d0d8c2808fdc76fc
parentf0f5d5c5e5f50f6142afc9d3d28c88753c47207a
radeonsi: add si_nir_lower_resource pass

Replace the load_ubo abi.

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/18666>
src/gallium/drivers/radeonsi/meson.build
src/gallium/drivers/radeonsi/si_nir_lower_resource.c [new file with mode: 0644]
src/gallium/drivers/radeonsi/si_shader.c
src/gallium/drivers/radeonsi/si_shader_internal.h
src/gallium/drivers/radeonsi/si_shader_llvm_resources.c