radeonsi: only init llvm output when needed.
authorQiang Yu <yuq825@gmail.com>
Mon, 26 Dec 2022 02:03:59 +0000 (10:03 +0800)
committerMarge Bot <emma+marge@anholt.net>
Tue, 28 Feb 2023 07:19:29 +0000 (07:19 +0000)
commitee9ccd7ac523243408b8bcde9c7896a2aee1d7c2
treec9cade6aa12b7d343188c764ada915ec42587772
parent87ec94f6aac1db7769fc038ef89c3198542e6d71
radeonsi: only init llvm output when needed.

These are the cases which still uses nir_store_output.

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/21435>
src/gallium/drivers/radeonsi/si_shader_llvm.c