freedreno: move ForEachMacros into freedreno

This change moves freedreno specific ForEachMacros from the top level
.clang-format to the freedreno specific .clang-format.

This is done to avoid triggering CI for all drivers when making changes
to this list.

Signed-off-by: Job Noorman <jnoorman@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32107>
This commit is contained in:
Job Noorman 2025-01-24 09:55:05 +01:00 committed by Marge Bot
parent dd74ef36a5
commit bc6152c1c3
2 changed files with 54 additions and 55 deletions

View file

@ -233,61 +233,6 @@ ForEachMacros:
# radv
- PHASE
# freedreno
- ir2_foreach_instr
- ir2_foreach_live_reg
- ir2_foreach_avail
- ir2_foreach_src
- foreach_two_lists
- foreach_sched_node
- foreach_src
- foreach_src_n
- foreach_src_if
- foreach_src_with_alias_n
- foreach_src_in_alias_group_n
- foreach_src_in_alias_group
- foreach_dst
- foreach_dst_n
- foreach_dst_if
- ra_foreach_dst
- ra_foreach_src
- ra_foreach_src_rev
- foreach_ssa_use
- foreach_ssa_srcp_n
- foreach_ssa_srcp
- foreach_ssa_src_n
- foreach_ssa_src
- foreach_input_n
- foreach_input
- foreach_output_n
- foreach_output
- foreach_instr
- foreach_instr_rev
- foreach_instr_safe
- foreach_instr_from_safe
- foreach_block
- foreach_block_safe
- foreach_block_rev
- foreach_array
- foreach_array_safe
- foreach_name_n
- foreach_name
- foreach_def
- foreach_use
- foreach_interval
- foreach_interval_safe
- foreach_interval_rev
- foreach_interval_rev_safe
- foreach_batch
- foreach_line_in_section
- perf_time
- perf_time_ctx
- foreach_submit
- foreach_submit_safe
- foreach_instr_rpt
- foreach_instr_rpt_excl
- foreach_instr_rpt_excl_safe
# Disable clang formatting by default. Drivers that use clang-format
# inherit from this .clang-format file and re-enable formatting:
#

View file

@ -5,3 +5,57 @@ DisableFormat: false
AlignConsecutiveBitFields: true
ColumnLimit: 80
BreakStringLiterals: false
ForEachMacros:
- ir2_foreach_instr
- ir2_foreach_live_reg
- ir2_foreach_avail
- ir2_foreach_src
- foreach_batch
- perf_time
- perf_time_ctx
- foreach_sched_node
- foreach_src
- foreach_src_n
- foreach_src_if
- foreach_src_with_alias_n
- foreach_src_in_alias_group_n
- foreach_src_in_alias_group
- foreach_dst
- foreach_dst_n
- foreach_dst_if
- ra_foreach_dst
- ra_foreach_src
- ra_foreach_src_rev
- foreach_ssa_use
- foreach_ssa_srcp_n
- foreach_ssa_srcp
- foreach_ssa_src_n
- foreach_ssa_src
- foreach_input_n
- foreach_input
- foreach_output_n
- foreach_output
- foreach_instr
- foreach_instr_rev
- foreach_instr_safe
- foreach_instr_from_safe
- foreach_block
- foreach_block_safe
- foreach_block_rev
- foreach_array
- foreach_array_safe
- foreach_name_n
- foreach_name
- foreach_def
- foreach_use
- foreach_interval
- foreach_interval_safe
- foreach_interval_rev
- foreach_interval_rev_safe
- foreach_line_in_section
- foreach_submit
- foreach_submit_safe
- foreach_instr_rpt
- foreach_instr_rpt_excl
- foreach_instr_rpt_excl_safe