mesa/src/nouveau
Alyssa Rosenzweig da752ed7c1 treewide: use nir_def_replace sometimes
Two Coccinelle patches here. Didn't catch nearly as much as I would've liked but
it's a start.

Coccinelle patch:

    @@
    expression intr, repl;
    @@

    -nir_def_rewrite_uses(&intr->def, repl);
    -nir_instr_remove(&intr->instr);
    +nir_def_replace(&intr->def, repl);

Coccinelle patch:

    @@
    identifier intr;
    expression instr, repl;
    @@

    nir_intrinsic_instr *intr = nir_instr_as_intrinsic(instr);
    ...
    -nir_def_rewrite_uses(&intr->def, repl);
    -nir_instr_remove(instr);
    +nir_def_replace(&intr->def, repl);

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Reviewed-by: Juan A. Suarez Romero <jasuarez@igalia.com> [broadcom]
Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com> [lima]
Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com> [etna]
Reviewed-by: Pavel Ondračka <pavel.ondracka@gmail.com> [r300]
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29817>
2024-06-21 15:36:56 +00:00
..
ci ci: set a common B2C_JOB_SUCCESS_REGEX with the message that's printed for all jobs 2024-06-08 07:16:27 +00:00
codegen treewide: use nir_def_replace sometimes 2024-06-21 15:36:56 +00:00
compiler treewide: use nir_def_replace sometimes 2024-06-21 15:36:56 +00:00
drm nouveau: import nvif/ioctl.h file from libdrm_nouveau 2024-05-27 22:23:41 +00:00
drm-shim nvk: use c.get_supported_arguments for compiler flags 2024-03-13 15:21:07 +00:00
headers nouveau/push: add support for m2mf/i2mf to dumper 2024-06-19 02:35:24 +00:00
mme nouveau/headers: Make nvk_cl**** turn to nv_push_cl**** 2024-05-07 03:15:02 +00:00
nil nil: Support creating images with DRM modifiers 2024-05-14 04:04:34 +00:00
vulkan nvk/upload_queue: fix the _fill method 2024-06-19 20:25:08 +00:00
winsys nouveau: Fix a race in nouveau_ws_bo_destroy() 2024-06-15 06:14:28 +00:00
.rustfmt.toml nouveau: Move .rustfmt.toml from NAK to src/nouveau/ 2024-04-08 20:28:43 +00:00
meson.build nouveau: import libdrm_nouveau 2024-03-13 15:21:07 +00:00