diff options
author | Faith Ekstrand <faith.ekstrand@collabora.com> | 2023-08-17 15:44:47 -0500 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2023-08-18 01:00:15 +0000 |
commit | de063a1481ab4a8ec284289b51fec7485f45cefd (patch) | |
tree | 23e710aae840ba5975645d75f58fc8de6112f804 /src/panfrost/util | |
parent | 964c73e13edf885316f234c5dde6330116a86184 (diff) |
nir: Drop most uses of nir_instr_rewrite_src_ssa()
Generated with the following semantic patch:
@@
expression I, S, D;
@@
-nir_instr_rewrite_src_ssa(I, S, D);
+nir_src_rewrite(S, D);
Acked-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24729>
Diffstat (limited to 'src/panfrost/util')
-rw-r--r-- | src/panfrost/util/pan_lower_store_component.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/panfrost/util/pan_lower_store_component.c b/src/panfrost/util/pan_lower_store_component.c index 6393fc14750..7ac3e3d5131 100644 --- a/src/panfrost/util/pan_lower_store_component.c +++ b/src/panfrost/util/pan_lower_store_component.c @@ -75,8 +75,7 @@ lower_store_component(nir_builder *b, nir_instr *instr, void *data) } intr->num_components = util_last_bit(mask); - nir_instr_rewrite_src_ssa(instr, &intr->src[0], - nir_vec(b, channels, intr->num_components)); + nir_src_rewrite(&intr->src[0], nir_vec(b, channels, intr->num_components)); nir_intrinsic_set_component(intr, 0); nir_intrinsic_set_write_mask(intr, mask); |