ac/nir: move store_var_components to common place
authorQiang Yu <yuq825@gmail.com>
Tue, 14 Feb 2023 02:19:44 +0000 (10:19 +0800)
committerMarge Bot <emma+marge@anholt.net>
Thu, 16 Mar 2023 04:33:30 +0000 (04:33 +0000)
commite070a9e8d00700dbcbc3f994bc20f2bf2445e03b
treeebb1f1c3f660a2416b12c583719db82de9ccbc43
parentf2617944bfd3200c590c440baa95f8ff63fa87b9
ac/nir: move store_var_components to common place

It will be shared by other nir lowering too.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21437>
src/amd/common/ac_nir.c
src/amd/common/ac_nir.h
src/amd/common/ac_nir_lower_ngg.c