mesa/src/amd/vulkan/nir
Daniel Schürmann 2d73dd15d6 radv/rt: add and lower loop continue construct in traversal shaders
We are going to disallow continue statements without
loop continue constructs.

Totals from 58 (0.07% of 84369) affected shaders: (Navi21)
Instrs: 2320937 -> 2318938 (-0.09%)
CodeSize: 12554896 -> 12546892 (-0.06%); split: -0.06%, +0.00%
SpillSGPRs: 116 -> 102 (-12.07%)
SpillVGPRs: 2648 -> 2627 (-0.79%)
Latency: 13440088 -> 13424694 (-0.11%)
InvThroughput: 3262579 -> 3259088 (-0.11%)
VClause: 69628 -> 69666 (+0.05%)
SClause: 51528 -> 51519 (-0.02%)
Copies: 203958 -> 203478 (-0.24%); split: -0.29%, +0.05%
Branches: 70777 -> 70400 (-0.53%)
PreSGPRs: 4768 -> 4660 (-2.27%)
VALU: 1537105 -> 1536899 (-0.01%); split: -0.02%, +0.01%
SALU: 340938 -> 339623 (-0.39%)
VMEM: 120339 -> 120286 (-0.04%)

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com>
Reviewed-by: Georg Lehmann <dadschoorse@gmail.com>
Acked-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39942>
2026-03-21 07:42:55 +00:00
..
radv_meta_nir.c radv: stop passing radv_device for creating NIR meta shaders 2026-03-19 19:23:55 +00:00
radv_meta_nir.h radv: stop passing radv_device for creating NIR meta shaders 2026-03-19 19:23:55 +00:00
radv_nir.h radv: stop associating NIR with device for debugging tools 2026-03-19 19:23:55 +00:00
radv_nir_apply_pipeline_layout.c amd: rename ac_cu_info to ac_compiler_info 2026-03-03 08:50:12 +00:00
radv_nir_export_multiview.c treewide: use VARYING_BIT_* 2025-07-04 19:01:04 +00:00
radv_nir_lower_abi.c radv: consistently use the value in bytes for esgs_itemsize 2025-11-20 16:45:37 +00:00
radv_nir_lower_call_abi.c radv/rt: Fix some tail-call compatibility checks 2026-01-31 14:26:58 +00:00
radv_nir_lower_cooperative_matrix.c radv/coopmat: fix deref stride 2026-01-12 10:39:05 +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 radv: combine v_mov_dpp into fma in frag_coord.z adjust 2026-02-24 18:34:38 +00:00
radv_nir_lower_hit_attrib_derefs.c radv/rt: Use function call structure in NIR lowering 2026-01-14 14:19:06 +00:00
radv_nir_lower_immediate_samplers.c amd: rename ac_cu_info to ac_compiler_info 2026-03-03 08:50:12 +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 radv: Lower 64-bit VS inputs to 32-bit 2026-01-01 17:44:40 -06: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: use nir_intrinsic_printf in radv_build_printf() 2026-03-20 17:02:40 +00:00
radv_nir_lower_ray_queries.c radv/rt: add and lower loop continue construct in traversal shaders 2026-03-21 07:42:55 +00: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 amd: rename ac_cu_info to ac_compiler_info 2026-03-03 08:50:12 +00:00
radv_nir_opt_fs_builtins.c radv/nir: fix front_face opts for points/lines and unknown prim 2025-12-22 07:59:30 +00:00
radv_nir_opt_tid_function.c nir: Let nir_eval_const_opcode() return a poison mask in case of UB. 2026-01-15 19:09:32 +00:00
radv_nir_remap_color_attachment.c radv/nir: fix radv_nir_remap_color_attachment progress 2025-12-12 17:00:51 +00:00
radv_nir_rt_common.c radv/rt: add and lower loop continue construct in traversal shaders 2026-03-21 07:42:55 +00:00
radv_nir_rt_common.h radv/rt: Fix shared ray query stack on top of application LDS 2026-03-16 12:43:59 +00:00
radv_nir_rt_stage_common.c radv/rt: Compile ahit/isec shaders to asm 2026-01-20 21:49:55 +00:00
radv_nir_rt_stage_common.h radv/rt: Compile ahit/isec shaders to asm 2026-01-20 21:49:55 +00:00
radv_nir_rt_stage_cps.c radv/rt: Compile ahit/isec shaders to asm 2026-01-20 21:49:55 +00:00
radv_nir_rt_stage_cps.h radv/rt: Use function call structure in NIR lowering 2026-01-14 14:19:06 +00:00
radv_nir_rt_stage_functions.c radv/rt: Fix discardable attributes on chit and traversal shaders 2026-01-31 14:26:58 +00:00
radv_nir_rt_stage_functions.h radv/rt: Compile ahit/isec shaders to asm 2026-01-20 21:49:55 +00:00
radv_nir_rt_stage_monolithic.c radv/rt: Compile ahit/isec shaders to asm 2026-01-20 21:49:55 +00:00
radv_nir_rt_stage_monolithic.h radv/rt: Use function call structure in NIR lowering 2026-01-14 14:19:06 +00:00
radv_nir_rt_traversal_shader.c radv/rt: add and lower loop continue construct in traversal shaders 2026-03-21 07:42:55 +00:00
radv_nir_rt_traversal_shader.h radv/rt: Call ahit/isec shaders 2026-01-20 21:49:55 +00:00
radv_nir_trim_fs_color_exports.c radv: set no_signed_zero for FS store_output when format doesn't care 2026-03-11 16:47:15 +00:00