mesa/src/broadcom/vulkan
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
..
.dir-locals.el
.editorconfig
meson.build v3dv: really fix CLE MMU errors on 7.1HW Rpi5 2024-05-31 10:32:27 +00:00
v3dv_android.c v3dv/android: Migrate ANB and AHB to use common helpers 2024-05-16 00:27:24 +00:00
v3dv_bo.c v3dv: store the offset of the BRANCH instruction in a CL 2024-04-03 12:57:56 +02:00
v3dv_bo.h v3dv: store the offset of the BRANCH instruction in a CL 2024-04-03 12:57:56 +02:00
v3dv_cl.c broadcom: move HW-dependant constants to v3d_device_info 2024-06-05 17:14:59 +00:00
v3dv_cl.h v3d,v3dv: document cl_emit_with_prepacked 2024-06-07 09:44:13 +02:00
v3dv_cmd_buffer.c v3dv: Emit stencil draw clear if needed for GFXH-1461 2024-05-28 10:29:18 +00:00
v3dv_debug.c v3dv/v3d: Fix copyright holder to Raspberry Pi Ltd 2022-02-18 11:50:07 +01:00
v3dv_debug.h v3dv/v3d: Fix copyright holder to Raspberry Pi Ltd 2022-02-18 11:50:07 +01:00
v3dv_descriptor_set.c vulkan,nir: Refactor ycbcr conversion state into a struct 2023-02-06 18:36:29 +00:00
v3dv_device.c v3dv: don't call wsi_device_init too early 2024-06-20 10:21:26 +00:00
v3dv_event.c v3dv: add more checks for device loss 2024-06-12 12:09:00 +00:00
v3dv_formats.c broadcom: use common stype debug 2024-05-10 18:49:38 +00:00
v3dv_image.c v3dv: implement vkGetDeviceImageSubresourceLayoutKHR 2024-06-03 07:59:21 +00:00
v3dv_limits.h v3dv/device: compute maxDescriptorSet*Limits multiplying per-stage by 4 2024-05-29 10:35:27 +00:00
v3dv_meta_clear.c v3dv: fix pipeline leaks when meta pipeline cache is disabled 2024-06-06 07:12:27 +00:00
v3dv_meta_common.h v3dv/v3d: Fix copyright holder to Raspberry Pi Ltd 2022-02-18 11:50:07 +01:00
v3dv_meta_copy.c v3dv: disable some TLB paths for cases of linear depth/stencil stores 2024-06-10 07:25:04 +02:00
v3dv_pass.c v3dv: implement vkGetRenderingAreaGranularityKHR 2024-06-05 14:21:05 +00:00
v3dv_pipeline.c treewide: use nir_def_replace sometimes 2024-06-21 15:36:56 +00:00
v3dv_pipeline_cache.c treewide: Remove vulkan/runtime vulkan/util prefix in include path 2024-03-05 19:05:00 +00:00
v3dv_private.h broadcom: move HW-dependant constants to v3d_device_info 2024-06-05 17:14:59 +00:00
v3dv_query.c v3dv: add more checks for device loss 2024-06-12 12:09:00 +00:00
v3dv_queue.c v3dv: fix job suspend with command buffer simultaneous use flag 2024-04-03 13:35:54 +02:00
v3dv_uniforms.c broadcom: move HW-dependant constants to v3d_device_info 2024-06-05 17:14:59 +00:00
v3dv_wsi.c v3dv: disallow image stores on VK_KHR_DISPLAY surfaces 2023-12-13 06:17:15 +00:00
v3dvx_cmd_buffer.c v3dv: implement vkCmdBindIndexBuffer2KHR 2024-05-28 11:37:47 +02:00
v3dvx_descriptor_set.c v3dv: add support for multi-planar formats, enable YCbCr 2023-01-16 14:10:21 +00:00
v3dvx_device.c treewide: Replace usage of macro DEBUG with MESA_DEBUG when possible 2024-03-22 18:22:34 +00:00
v3dvx_formats.c v3dv: support VK_FORMAT_A1B5G5R5_UNORM_PACK16_KHR 2024-06-11 05:32:26 +00:00
v3dvx_image.c v3dv: use new texture shader state rb_swap and reverse fields in v3d 7.x 2023-10-13 22:37:43 +00:00
v3dvx_meta_common.c v3dv: fix a few asserts that check layerCount instead of array_layers 2024-06-06 07:12:27 +00:00
v3dvx_pipeline.c v3dv: drop unused stride field from v3dv_pipeline_vertex_binding 2024-05-28 11:37:19 +02:00
v3dvx_private.h broadcom: move HW-dependant constants to v3d_device_info 2024-06-05 17:14:59 +00:00
v3dvx_query.c v3dv: Use DRM_IOCTL_V3D_GET_COUNTER to get perfcnt information 2024-05-22 05:37:48 +00:00
v3dvx_queue.c v3d,v3dv: don't use max internal bpp for tile sizing in V3D 7.x 2023-10-13 22:37:43 +00:00