-
Notifications
You must be signed in to change notification settings - Fork 491
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
430824f
commit eb8f691
Showing
1,424 changed files
with
96,649 additions
and
75,408 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
# C++ formatting | ||
|
||
Language: Cpp | ||
BasedOnStyle: Chromium | ||
IndentWidth: 4 | ||
ColumnLimit: 140 | ||
AccessModifierOffset: -4 | ||
SortIncludes: false | ||
SortUsingDeclarations: false | ||
SpaceAfterTemplateKeyword: false | ||
DerivePointerAlignment: false | ||
PointerAlignment: Left | ||
FixNamespaceComments: true | ||
|
||
AllowAllConstructorInitializersOnNextLine: true | ||
BreakConstructorInitializers: BeforeComma | ||
AlwaysBreakTemplateDeclarations: true | ||
AllowShortFunctionsOnASingleLine: Inline | ||
AllowShortEnumsOnASingleLine: true | ||
BreakBeforeBraces: Custom | ||
BraceWrapping: | ||
AfterCaseLabel: true | ||
AfterClass: true | ||
AfterControlStatement: Always | ||
AfterEnum: true | ||
AfterFunction: true | ||
AfterNamespace: true | ||
AfterStruct: true | ||
AfterUnion: true | ||
AfterExternBlock: true | ||
BeforeCatch: true | ||
BeforeElse: true | ||
BeforeLambdaBody: true | ||
BeforeWhile: false | ||
SplitEmptyFunction: false | ||
SplitEmptyRecord: false | ||
SplitEmptyNamespace: false | ||
IndentCaseLabels: false | ||
|
||
ReflowComments: true | ||
CommentPragmas: '^\\.+' | ||
SpacesBeforeTrailingComments: 1 | ||
PenaltyBreakComment: 0 | ||
AlignAfterOpenBracket: BlockIndent | ||
IndentPPDirectives: None | ||
PenaltyReturnTypeOnItsOwnLine: 100000 | ||
PenaltyBreakTemplateDeclaration: 100000 | ||
|
||
--- | ||
|
||
# Slang formatting | ||
|
||
Language: CSharp | ||
BasedOnStyle: Chromium | ||
IndentWidth: 4 | ||
ColumnLimit: 140 | ||
AccessModifierOffset: -4 | ||
SortIncludes: false | ||
SortUsingDeclarations: false | ||
SpaceAfterTemplateKeyword: false | ||
DerivePointerAlignment: false | ||
PointerAlignment: Left | ||
FixNamespaceComments: true | ||
|
||
AllowAllConstructorInitializersOnNextLine: true | ||
BreakConstructorInitializers: BeforeComma | ||
AlwaysBreakTemplateDeclarations: true | ||
AllowShortFunctionsOnASingleLine: Inline | ||
AllowShortEnumsOnASingleLine: true | ||
BreakBeforeBraces: Custom | ||
BraceWrapping: | ||
AfterCaseLabel: true | ||
AfterClass: true | ||
AfterControlStatement: Always | ||
AfterEnum: true | ||
AfterFunction: true | ||
AfterNamespace: true | ||
AfterStruct: true | ||
AfterUnion: true | ||
AfterExternBlock: true | ||
BeforeCatch: true | ||
BeforeElse: true | ||
BeforeLambdaBody: true | ||
BeforeWhile: false | ||
SplitEmptyFunction: false | ||
SplitEmptyRecord: false | ||
SplitEmptyNamespace: false | ||
IndentCaseLabels: false | ||
|
||
ReflowComments: true | ||
CommentPragmas: '^\\.+' | ||
SpacesBeforeTrailingComments: 1 | ||
PenaltyBreakComment: 0 | ||
AlignAfterOpenBracket: BlockIndent | ||
IndentPPDirectives: None | ||
PenaltyReturnTypeOnItsOwnLine: 100000 | ||
PenaltyBreakTemplateDeclaration: 100000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
Source/Falcor/RenderGraph | ||
Source/Falcor/Rendering | ||
Source/Falcor/RenderPasses | ||
Source/Falcor/Scene | ||
Source/Falcor/Utils | ||
Source/Mogwai | ||
Source/plugins/importers/USDImporter | ||
Source/RenderPasses | ||
|
||
# Explicitly whitelisted files | ||
!Source/Falcor/Utils/PathResolving.cpp | ||
!Source/Falcor/Utils/PathResolving.h | ||
!Source/Falcor/Utils/Settings.cpp | ||
!Source/Falcor/Utils/Settings.h | ||
!Source/Falcor/Utils/StringFormatters.h | ||
!Source/Falcor/Utils/Math/Rectangle.cpp | ||
!Source/Falcor/Utils/Math/Rectangle.h | ||
!Source/Falcor/Utils/Algorithm/UnionFind.h | ||
!Source/Falcor/Rendering/Materials/BSDFs | ||
!Source/RenderPasses/DLSSPass/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
# Set the default behavior, in case people don't have core.autocrlf set. | ||
* text=auto | ||
# Format slang files as HLSL. | ||
*.slang gitlab-language=hlsl | ||
*.slangh gitlab-language=hlsl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,9 @@ | |
/.vs/ | ||
/.vscode/ | ||
|
||
# User files. | ||
/CMakeUserPresets.json | ||
|
||
# File types. | ||
*.user | ||
*.suo | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.