-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AMD Render Pipeline Shaders SDK Open Beta
- Loading branch information
0 parents
commit ce66a65
Showing
213 changed files
with
68,589 additions
and
0 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,54 @@ | ||
# Copyright (c) 2022 Advanced Micro Devices, Inc. All rights reserved. | ||
# | ||
# This file is part of the AMD Render Pipeline Shaders SDK which is | ||
# released under the AMD INTERNAL EVALUATION LICENSE. | ||
# | ||
# See file LICENSE.RTF for full license details. | ||
|
||
BasedOnStyle: Google | ||
IndentWidth: 4 | ||
UseTab: Never | ||
ColumnLimit: 120 | ||
Language: Cpp | ||
AccessModifierOffset: -4 | ||
BreakBeforeBraces: Custom | ||
BraceWrapping: | ||
AfterCaseLabel: true | ||
AfterClass: true | ||
AfterControlStatement: true | ||
AfterEnum: true | ||
AfterFunction: true | ||
AfterNamespace: true | ||
AfterObjCDeclaration: true | ||
AfterStruct: true | ||
AfterUnion: true | ||
AfterExternBlock: false | ||
BeforeCatch: true | ||
BeforeElse: true | ||
IndentBraces: false | ||
SplitEmptyFunction: true | ||
SplitEmptyRecord: true | ||
SplitEmptyNamespace: true | ||
ConstructorInitializerAllOnOneLineOrOnePerLine : false | ||
BreakConstructorInitializers: BeforeComma | ||
DerivePointerAlignment: false | ||
IndentCaseLabels: false | ||
NamespaceIndentation: All | ||
AlignConsecutiveAssignments: true | ||
AlignConsecutiveDeclarations: true | ||
AlignEscapedNewlines: Left | ||
AlignTrailingComments: true | ||
AlignOperands: true | ||
AllowShortFunctionsOnASingleLine: false | ||
AllowShortIfStatementsOnASingleLine: false | ||
AllowShortLoopsOnASingleLine: false | ||
AllowShortBlocksOnASingleLine: false | ||
ReflowComments: false | ||
SortIncludes: false | ||
SortUsingDeclarations: false | ||
BinPackArguments: false | ||
BinPackParameters: false | ||
ExperimentalAutoDetectBinPacking: false | ||
AllowAllParametersOfDeclarationOnNextLine: true | ||
AlignConsecutiveMacros: true | ||
AlignAfterOpenBracket: true |
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,27 @@ | ||
# Copyright (c) 2022 Advanced Micro Devices, Inc. All rights reserved. | ||
# | ||
# This file is part of the AMD Render Pipeline Shaders SDK which is | ||
# released under the AMD INTERNAL EVALUATION LICENSE. | ||
# | ||
# See file LICENSE.RTF for full license details. | ||
|
||
/bin | ||
/lib | ||
/out | ||
/build | ||
/generated_projects | ||
/generated_projects_Arm64 | ||
.vs/ | ||
*.vcxproj.user | ||
*.vcxproj.filters | ||
*.csproj.user | ||
*.suo | ||
*.VC.db | ||
*.opendb | ||
*.db-shm | ||
*.db-wal | ||
*.rpsb | ||
*.json | ||
/docs/* | ||
!/docs/assets | ||
/tests/imported/tmp |
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,61 @@ | ||
variables: | ||
PackageName: AMDRenderPipelineShaderSDK | ||
GIT_SUBMODULE_STRATEGY: normal | ||
|
||
stages: | ||
- build | ||
- test | ||
|
||
build: | ||
tags: | ||
- windows | ||
- amd64 | ||
- rps | ||
stage: build | ||
script: | ||
- 'del /q ".\external\catch2\scripts\updateDocumentToC.py"' | ||
- 'cmake -S ./ -B ./build -G "Visual Studio 16 2019" -A x64 -DRpsEnableVulkanTests=OFF' | ||
- 'cmake --build ./build --config Debug --parallel' | ||
- 'cmake --build ./build --config Release --parallel' | ||
artifacts: | ||
paths: | ||
- build | ||
- docs | ||
exclude: | ||
- build/**/CMakeFiles | ||
- build/**/*.ilk | ||
- build/**/*.obj | ||
|
||
build-vs2017: | ||
tags: | ||
- windows | ||
- amd64 | ||
stage: build | ||
script: | ||
- 'del /q ".\external\catch2\scripts\updateDocumentToC.py"' | ||
- 'cmake -S ./ -B ./build_vs2017 -G "Visual Studio 15 2017" -A x64 -DRpsEnableVulkanTests=ON' | ||
- 'cmake --build ./build_vs2017 --config Debug --parallel' | ||
- 'cmake --build ./build_vs2017 --config Release --parallel' | ||
artifacts: | ||
paths: | ||
- build_vs2017 | ||
- docs | ||
exclude: | ||
- build_vs2017/**/CMakeFiles | ||
- build_vs2017/**/*.ilk | ||
- build_vs2017/**/*.obj | ||
|
||
test: | ||
tags: | ||
- windows | ||
- amd64 | ||
- rps | ||
stage: test | ||
script: | ||
- 'del /q ".\external\catch2\scripts\updateDocumentToC.py"' | ||
- cd build | ||
- 'ctest -C Release -V --output-on-failure --output-log rpsTestLog.txt --parallel 8' | ||
artifacts: | ||
name: "%PackageName%-%CI_COMMIT_TAG%-%CI_COMMIT_REF_NAME%-%CI_COMMIT_SHORT_SHA%" | ||
paths: | ||
- rpsTestLog.txt |
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,6 @@ | ||
[submodule "external/catch2"] | ||
path = external/catch2 | ||
url = https://github.com/catchorg/Catch2.git | ||
[submodule "external/imgui"] | ||
path = external/imgui | ||
url = https://github.com/ocornut/imgui.git |
Oops, something went wrong.