xref: /aosp_15_r20/external/mesa3d/src/freedreno/vulkan/.clang-format (revision 6104692788411f58d303aa86923a9ff6ecaded22)
1
2BasedOnStyle: InheritParentConfig
3DisableFormat: false
4
5AlwaysBreakAfterReturnType: TopLevel
6BinPackParameters: false
7ColumnLimit: 78
8Cpp11BracedListStyle: false
9
10IncludeBlocks: Regroup
11IncludeCategories:
12  - Regex:           '^"tu_common.h"$'
13    Priority:        0
14  - Regex:           '^"(drm/|ir3/|tu_)'
15    Priority:        4
16  - Regex:           '^"(c11/|compiler/|main/|nir/|spirv/|util/|vk_|wsi_)'
17    Priority:        3
18  - Regex:           '^<(vulkan/)'
19    Priority:        2
20  - Regex:           '.*'
21    Priority:        1
22
23ForEachMacros:
24  - u_vector_foreach
25
26SpaceAfterCStyleCast: true
27SpaceBeforeCpp11BracedList: true
28