mesa/src/intel/vulkan_hasvk
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
..
layers hasvk: Add layer with work-around for Doom 64 texture corruption 2023-01-02 15:05:06 +00:00
tests hasvk/tests: Propagate failures to gtest 2023-08-25 12:08:29 -07:00
anv_allocator.c util: Turn futex_wake parameter to int32_t for consistence across platforms 2024-04-03 00:55:24 +00:00
anv_android.c hasvk/android: remove numFds check 2023-08-24 11:07:12 +00:00
anv_android.h hasvk: refactor to use DETECT_OS_ANDROID instead of ANDROID 2024-02-01 19:29:49 +00:00
anv_android_stubs.c anv,hasvk: android ahb is not always exportable 2023-05-11 22:18:03 +00:00
anv_batch_chain.c intel: move debug identifier out of libintel_dev 2024-05-11 01:52:01 +00:00
anv_blorp.c hasvk: Use ELK compiler 2024-02-24 00:24:31 +00:00
anv_bo_sync.c
anv_cmd_buffer.c vulkan: pass cmdbuf level to vk_command_buffer_ops::create() 2024-04-23 06:33:31 +00:00
anv_descriptor_set.c anv, hasvk: pMutableDescriptorTypeLists can be out of range on pool creation 2024-03-07 18:56:57 +00:00
anv_device.c hasvk: Advertise VK_EXT_shader_replicated_composites 2024-06-04 16:34:48 +00:00
anv_formats.c anv,hasvk: use common stype debug 2024-05-10 18:49:38 +00:00
anv_gem.c intel: Move intel_define.h to i915/intel_define.h 2024-02-21 18:10:54 +00:00
anv_gem_stubs.c hasvk: Remove remaining bits of anv_i915_query() 2023-02-09 02:57:32 +00:00
anv_genX.h hasvk: remove cmd_buffer_ray_query_globals function decl 2024-01-12 14:01:08 +00:00
anv_image.c intel/isl: Drop support for the gfx12 CCS ISL surf 2024-06-21 00:08:38 +00:00
anv_measure.c hasvk: Emit CS stall on INTEL_MEASURE timestamp 2023-01-04 22:43:36 +00:00
anv_measure.h
anv_nir.h hasvk: Use ELK compiler 2024-02-24 00:24:31 +00:00
anv_nir_apply_pipeline_layout.c treewide: use nir_def_replace sometimes 2024-06-21 15:36:56 +00:00
anv_nir_compute_push_layout.c hasvk: Use ELK compiler 2024-02-24 00:24:31 +00:00
anv_nir_lower_multiview.c treewide: use nir_def_replace sometimes 2024-06-21 15:36:56 +00:00
anv_nir_lower_ubo_loads.c treewide: use nir_def_replace sometimes 2024-06-21 15:36:56 +00:00
anv_nir_lower_ycbcr_textures.c treewide: use nir_def_replace sometimes 2024-06-21 15:36:56 +00:00
anv_perf.c intel/perf: Add function to open perf stream 2024-05-07 21:44:34 +00:00
anv_pipeline.c intel: Move slm functions from brw_compiler.h to intel_compute_slm.c/h 2024-05-30 16:46:16 +00:00
anv_pipeline_cache.c treewide: Remove vulkan/runtime vulkan/util prefix in include path 2024-03-05 19:05:00 +00:00
anv_private.h anv,hasvk: use common stype debug 2024-05-10 18:49:38 +00:00
anv_queue.c hasvk: Nuke anv_queue:index_in_family 2023-01-25 17:43:57 +00:00
anv_util.c
anv_utrace.c u_trace: extend tracepoint end_of_pipe bit into flags 2024-05-30 06:38:04 +00:00
anv_wsi.c intel: move debug identifier out of libintel_dev 2024-05-11 01:52:01 +00:00
genX_blorp_exec.c intel: Use _brw suffix for genX headers that rely on brw 2024-02-24 00:24:32 +00:00
genX_cmd_buffer.c intel/ds: add pipe control reasons to perfetto flushes 2024-03-08 07:52:20 +00:00
genX_gpu_memcpy.c anv,iris,hasvk: Use ISL_SURF_USAGE_STREAM_OUT_BIT for setting stream-out MOCS 2023-07-12 23:47:25 -07:00
genX_pipeline.c intel: Move slm functions from brw_compiler.h to intel_compute_slm.c/h 2024-05-30 16:46:16 +00:00
genX_query.c mi-builder: rename relocated api 2024-06-13 11:04:31 +00:00
genX_state.c anv,hasvk: use common stype debug 2024-05-10 18:49:38 +00:00
gfx7_cmd_buffer.c hasvk: add restrictions for 3DSTATE_RASTER::AntiAliasingEnable 2023-01-20 12:50:04 +00:00
gfx8_cmd_buffer.c hasvk: Use ELK compiler 2024-02-24 00:24:31 +00:00
meson.build meson: add VK_DRIVER_FILES to devenv, alongside the old VK_ICD_FILENAMES 2024-04-02 18:08:52 +00:00