Skip to content

Commit

Permalink
AMD Render Pipeline Shaders SDK Open Beta
Browse files Browse the repository at this point in the history
  • Loading branch information
rys committed Dec 14, 2022
0 parents commit ce66a65
Show file tree
Hide file tree
Showing 213 changed files with 68,589 additions and 0 deletions.
54 changes: 54 additions & 0 deletions .clang-format
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
27 changes: 27 additions & 0 deletions .gitignore
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
61 changes: 61 additions & 0 deletions .gitlab-ci.yml
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
6 changes: 6 additions & 0 deletions .gitmodules
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
Loading

0 comments on commit ce66a65

Please sign in to comment.