Skip to content

Commit d7531ae

Browse files
committed
AMD FidelityFX SDK 1.0
0 parents  commit d7531ae

File tree

1,428 files changed

+539891
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,428 files changed

+539891
-0
lines changed

.clang-format

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
# This file is part of the FidelityFX SDK.
2+
#
3+
# Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved.
4+
#
5+
# Permission is hereby granted, free of charge, to any person obtaining a copy
6+
# of this software and associated documentation files (the "Software"), to deal
7+
# in the Software without restriction, including without limitation the rights
8+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
# copies of the Software, and to permit persons to whom the Software is
10+
# furnished to do so, subject to the following conditions:
11+
# The above copyright notice and this permission notice shall be included in
12+
# all copies or substantial portions of the Software.
13+
#
14+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20+
# THE SOFTWARE.
21+
22+
BasedOnStyle: Google
23+
IndentWidth: 4
24+
UseTab: Never
25+
ColumnLimit: 160
26+
Language: Cpp
27+
AccessModifierOffset: -4
28+
BreakBeforeBraces: Custom
29+
BraceWrapping:
30+
AfterCaseLabel: true
31+
AfterClass: true
32+
AfterControlStatement: true
33+
AfterEnum: true
34+
AfterFunction: true
35+
AfterNamespace: true
36+
AfterObjCDeclaration: true
37+
AfterStruct: true
38+
AfterUnion: true
39+
AfterExternBlock: false
40+
BeforeCatch: true
41+
BeforeElse: true
42+
IndentBraces: false
43+
SplitEmptyFunction: true
44+
SplitEmptyRecord: true
45+
SplitEmptyNamespace: true
46+
ConstructorInitializerAllOnOneLineOrOnePerLine : false
47+
BreakConstructorInitializers: BeforeComma
48+
DerivePointerAlignment: false
49+
IndentCaseLabels: false
50+
NamespaceIndentation: All
51+
AlignConsecutiveAssignments: true
52+
AlignConsecutiveDeclarations: true
53+
AlignEscapedNewlines: Left
54+
AlignTrailingComments: true
55+
AlignOperands: true
56+
AllowShortFunctionsOnASingleLine: false
57+
AllowShortIfStatementsOnASingleLine: false
58+
AllowShortLoopsOnASingleLine: false
59+
AllowShortBlocksOnASingleLine: false
60+
ReflowComments: false
61+
SortIncludes: false
62+
SortUsingDeclarations: false
63+
BinPackArguments: false
64+
BinPackParameters: false
65+
ExperimentalAutoDetectBinPacking: false
66+
AllowAllParametersOfDeclarationOnNextLine: true
67+
AlignConsecutiveMacros: true
68+
AlignAfterOpenBracket: true

.clang-tidy

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# This file is part of the FidelityFX SDK.
2+
#
3+
# Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved.
4+
#
5+
# Permission is hereby granted, free of charge, to any person obtaining a copy
6+
# of this software and associated documentation files (the "Software"), to deal
7+
# in the Software without restriction, including without limitation the rights
8+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
# copies of the Software, and to permit persons to whom the Software is
10+
# furnished to do so, subject to the following conditions:
11+
# The above copyright notice and this permission notice shall be included in
12+
# all copies or substantial portions of the Software.
13+
#
14+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20+
# THE SOFTWARE.
21+
22+
Checks: 'clang-diagnostic-*,clang-analyzer-*,cppcoreguidelines-*,modernize-*,-modernize-use-trailing-return-type'
23+
WarningsAsErrors: false
24+
HeaderFilterRegex: ''
25+
AnalyzeTemporaryDtors: false
26+
FormatStyle: google
27+
CheckOptions:
28+
- { key: readability-identifier-naming.NamespaceCase, value: CamelCase }
29+
- { key: readability-identifier-naming.ClassCase, value: CamelCase }
30+
- { key: readability-identifier-naming.PrivateMemberPrefix, value: m_ }
31+
- { key: readability-identifier-naming.StructCase, value: CamelCase }
32+
- { key: readability-identifier-naming.FunctionCase, value: camelBase }
33+
- { key: readability-identifier-naming.VariableCase, value: camelBase }
34+
- { key: readability-identifier-naming.GlobalConstantCase, value: UPPER_CASE }
35+

.editorconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# top-most EditorConfig file
2+
root = true
3+
4+
# Unix-style newlines with a newline ending every file
5+
[*]
6+
end_of_line = lf
7+
insert_final_newline = true
8+
charset = utf-8
9+
indent_style = space
10+
indent_size = 4

.gitattributes

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Set the default behavior, in case people don't have core.autocrlf set.
2+
* text=auto
3+
4+
# Declare files that use whatever default is
5+
*.md text
6+
*.txt text
7+
8+
# Declare files that will always have CRLF line endings on checkout.
9+
*.sln text eol=crlf
10+
11+
# Declare files that will always have LF line endings on checkout.
12+
*.c text eol=lf
13+
*.cpp text eol=lf
14+
*.h text eol=lf
15+
*.hpp text eol=lf
16+
*.idl text eol=lf
17+
*.json text eol=lf
18+
*.hlsl text eol=lf
19+
20+
# Denote all files that are truly binary and should not be modified.
21+
*.png binary
22+
*.jpg binary
23+
*.lib binary
24+
*.dll binary
25+
*.exp binary
26+
*.pdb binary
27+
*.exe binary
28+
*.chm binary

0 commit comments

Comments
 (0)