nir: Drop most uses of nir_instr_rewrite_src_ssa()
authorFaith Ekstrand <faith.ekstrand@collabora.com>
Thu, 17 Aug 2023 20:44:47 +0000 (15:44 -0500)
committerMarge Bot <emma+marge@anholt.net>
Fri, 18 Aug 2023 01:00:15 +0000 (01:00 +0000)
commitde063a1481ab4a8ec284289b51fec7485f45cefd
tree23e710aae840ba5975645d75f58fc8de6112f804
parent964c73e13edf885316f234c5dde6330116a86184
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>
42 files changed:
src/amd/common/ac_nir_lower_subdword_loads.c
src/amd/common/ac_nir_lower_tex.c
src/amd/vulkan/nir/radv_nir_apply_pipeline_layout.c
src/amd/vulkan/radv_rt_shader.c
src/asahi/compiler/agx_nir_lower_discard_zs_emit.c
src/asahi/compiler/agx_nir_lower_sample_mask.c
src/asahi/compiler/agx_nir_lower_shared_bitsize.c
src/asahi/compiler/agx_nir_lower_texture.c
src/asahi/lib/agx_nir_lower_alpha.c
src/compiler/nir/nir_deref.c
src/compiler/nir/nir_lower_blend.c
src/compiler/nir/nir_lower_helper_writes.c
src/compiler/nir/nir_lower_image.c
src/compiler/nir/nir_lower_mediump.c
src/compiler/nir/nir_lower_robust_access.c
src/compiler/nir/nir_lower_shader_calls.c
src/compiler/nir/nir_lower_tex.c
src/compiler/nir/nir_lower_texcoord_replace_late.c
src/compiler/nir/nir_normalize_cubemap_coords.c
src/compiler/nir/nir_opt_copy_propagate.c
src/compiler/nir/nir_opt_if.c
src/compiler/nir/nir_opt_shrink_vectors.c
src/compiler/nir/nir_trivialize_registers.c
src/freedreno/vulkan/tu_shader.cc
src/gallium/drivers/d3d12/d3d12_lower_image_casts.c
src/gallium/drivers/freedreno/ir3/ir3_descriptor.c
src/gallium/drivers/r600/sfn/sfn_nir_legalize_image_load_store.cpp
src/gallium/drivers/radeonsi/si_nir_lower_abi.c
src/gallium/drivers/radeonsi/si_nir_lower_resource.c
src/gallium/drivers/radeonsi/si_shader.c
src/gallium/drivers/zink/zink_compiler.c
src/gallium/frontends/lavapipe/lvp_lower_vulkan_resource.c
src/intel/compiler/brw_nir_clamp_per_vertex_loads.c
src/intel/vulkan/anv_nir_lower_resource_intel.c
src/mesa/state_tracker/st_atifs_to_nir.c
src/mesa/state_tracker/st_nir_lower_fog.c
src/microsoft/compiler/dxil_nir.c
src/microsoft/spirv_to_dxil/dxil_spirv_nir.c
src/microsoft/spirv_to_dxil/dxil_spirv_nir_lower_bindless.c
src/nouveau/vulkan/nvk_nir_lower_descriptors.c
src/panfrost/compiler/bifrost_compile.c
src/panfrost/util/pan_lower_store_component.c