summaryrefslogtreecommitdiffstats
path: root/src/freedreno/vulkan/.clang-format
blob: 7ff44c540852f7e0922b35f704771744cd4e1737 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
BasedOnStyle: LLVM
AlwaysBreakAfterReturnType: TopLevel
BinPackParameters: false
BraceWrapping:
  AfterControlStatement: false
  AfterEnum: true
  AfterFunction: true
  AfterStruct: true
  BeforeElse: false
  SplitEmptyFunction: true
BreakBeforeBraces: Custom
ColumnLimit: 78
ContinuationIndentWidth: 3
Cpp11BracedListStyle: false
IncludeBlocks: Regroup
IncludeCategories:
  - Regex:           '^"tu_private.h"$'
    Priority:        0
  - Regex:           '^"(drm/|tu_)'
    Priority:        4
  - Regex:           '^"(c11/|compiler/|main/|nir/|spirv/|util/|vk_)'
    Priority:        3
  - Regex:           '^<(vulkan/)'
    Priority:        2
  - Regex:           '.*'
    Priority:        1
IndentWidth: 3
PenaltyBreakBeforeFirstCallParameter: 1
PenaltyExcessCharacter: 100
SpaceAfterCStyleCast: true
SpaceBeforeCpp11BracedList: true