mesa/src/amd/vulkan/nir
Rhys Perry 241bbb4977 radv: remove NIR_PASS in insert_rt_case
When NIR_DEBUG=serialize or NIR_DEBUG=clone is used, NIR_PASS recreates
nir_function_impl and nir_variable objects, causing use-after-free since
insert_rt_case() keeps pointers to those in local variables and var_remap.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Marek Olšák <maraeo@gmail.com>
Reviewed-by: Georg Lehmann <dadschoorse@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37573>
2025-10-23 10:44:38 +00:00
..
radv_meta_nir.c treewide: use nir_store_global alias of nir_build_store_global 2025-10-21 12:37:58 +02:00
radv_meta_nir.h radv/meta: add a pass to clear HiZ surfaces 2025-08-12 13:48:09 +00:00
radv_nir.h amd/common: merge radv_nir_opt_access_speculate() into ac_nir_flag_smem_for_loads() 2025-10-14 16:33:12 +00:00
radv_nir_apply_pipeline_layout.c treewide: use nir_load_global alias of nir_build_load_global 2025-10-21 12:37:58 +02:00
radv_nir_export_multiview.c treewide: use VARYING_BIT_* 2025-07-04 19:01:04 +00:00
radv_nir_lower_abi.c treewide: use nir_load_global alias of nir_build_load_global 2025-10-21 12:37:58 +02:00
radv_nir_lower_cooperative_matrix.c radv/nir/lower_cmat: clean up GFX11 ACC->B convert 2025-09-09 06:08:55 +00:00
radv_nir_lower_fs_barycentric.c radv: rename rast_prim to vgt_outprim_type everywhere 2025-08-25 12:17:38 +00:00
radv_nir_lower_fs_intrinsics.c treewide: simplify nir_def_rewrite_uses_after 2025-08-01 15:34:24 +00:00
radv_nir_lower_hit_attrib_derefs.c radv/rt: don't split array/struct payload variables 2024-09-24 15:41:04 +00:00
radv_nir_lower_immediate_samplers.c radv: lower embedded/immutable samplers earlier 2025-10-07 09:25:28 +00:00
radv_nir_lower_intrinsics_early.c radv: re-run clang-format 2025-07-16 09:10:33 +02:00
radv_nir_lower_io.c build: avoid redefining unreachable() which is standard in C23 2025-07-31 17:49:42 +00:00
radv_nir_lower_primitive_shading_rate.c treewide: Switch to nir_progress 2025-02-26 15:19:53 +00:00
radv_nir_lower_printf.c radv: Rename radv_printf files to radv_debug_nir 2025-08-15 10:32:34 +00:00
radv_nir_lower_ray_queries.c treewide: use nir_load_global alias of nir_build_load_global 2025-10-21 12:37:58 +02:00
radv_nir_lower_view_index.c radv/nir_lower_view_index: intrinsic pass 2025-02-24 20:19:10 +00:00
radv_nir_lower_viewport_to_zero.c radv/nir_lower_viewport_to_zero: intrinsic pass 2025-02-24 20:19:10 +00:00
radv_nir_lower_vs_inputs.c radv: fix load_smem alignment 2025-09-19 21:08:25 -04:00
radv_nir_opt_fs_builtins.c radv: Optimize fs builtins using static gfx state 2025-02-17 09:45:15 +00:00
radv_nir_opt_tid_function.c nir: make inverse_ballot 1bit only 2025-09-04 14:03:56 +00:00
radv_nir_remap_color_attachment.c radv: implement VK_KHR_dynamic_rendering_local_read 2024-05-07 10:35:04 +00:00
radv_nir_rt_common.c docs: update/fix vk spec urls 2025-10-22 09:23:34 +02:00
radv_nir_rt_common.h radv: Store parent node IDs inside nodes on GFX12 2025-08-15 13:00:32 +00:00
radv_nir_rt_shader.c radv: remove NIR_PASS in insert_rt_case 2025-10-23 10:44:38 +00:00