Skip to content

Commit ce66a65

Browse files
committed
AMD Render Pipeline Shaders SDK Open Beta
0 parents  commit ce66a65

File tree

213 files changed

+68589
-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.

213 files changed

+68589
-0
lines changed

.clang-format

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# Copyright (c) 2022 Advanced Micro Devices, Inc. All rights reserved.
2+
#
3+
# This file is part of the AMD Render Pipeline Shaders SDK which is
4+
# released under the AMD INTERNAL EVALUATION LICENSE.
5+
#
6+
# See file LICENSE.RTF for full license details.
7+
8+
BasedOnStyle: Google
9+
IndentWidth: 4
10+
UseTab: Never
11+
ColumnLimit: 120
12+
Language: Cpp
13+
AccessModifierOffset: -4
14+
BreakBeforeBraces: Custom
15+
BraceWrapping:
16+
AfterCaseLabel: true
17+
AfterClass: true
18+
AfterControlStatement: true
19+
AfterEnum: true
20+
AfterFunction: true
21+
AfterNamespace: true
22+
AfterObjCDeclaration: true
23+
AfterStruct: true
24+
AfterUnion: true
25+
AfterExternBlock: false
26+
BeforeCatch: true
27+
BeforeElse: true
28+
IndentBraces: false
29+
SplitEmptyFunction: true
30+
SplitEmptyRecord: true
31+
SplitEmptyNamespace: true
32+
ConstructorInitializerAllOnOneLineOrOnePerLine : false
33+
BreakConstructorInitializers: BeforeComma
34+
DerivePointerAlignment: false
35+
IndentCaseLabels: false
36+
NamespaceIndentation: All
37+
AlignConsecutiveAssignments: true
38+
AlignConsecutiveDeclarations: true
39+
AlignEscapedNewlines: Left
40+
AlignTrailingComments: true
41+
AlignOperands: true
42+
AllowShortFunctionsOnASingleLine: false
43+
AllowShortIfStatementsOnASingleLine: false
44+
AllowShortLoopsOnASingleLine: false
45+
AllowShortBlocksOnASingleLine: false
46+
ReflowComments: false
47+
SortIncludes: false
48+
SortUsingDeclarations: false
49+
BinPackArguments: false
50+
BinPackParameters: false
51+
ExperimentalAutoDetectBinPacking: false
52+
AllowAllParametersOfDeclarationOnNextLine: true
53+
AlignConsecutiveMacros: true
54+
AlignAfterOpenBracket: true

.gitignore

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Copyright (c) 2022 Advanced Micro Devices, Inc. All rights reserved.
2+
#
3+
# This file is part of the AMD Render Pipeline Shaders SDK which is
4+
# released under the AMD INTERNAL EVALUATION LICENSE.
5+
#
6+
# See file LICENSE.RTF for full license details.
7+
8+
/bin
9+
/lib
10+
/out
11+
/build
12+
/generated_projects
13+
/generated_projects_Arm64
14+
.vs/
15+
*.vcxproj.user
16+
*.vcxproj.filters
17+
*.csproj.user
18+
*.suo
19+
*.VC.db
20+
*.opendb
21+
*.db-shm
22+
*.db-wal
23+
*.rpsb
24+
*.json
25+
/docs/*
26+
!/docs/assets
27+
/tests/imported/tmp

.gitlab-ci.yml

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
variables:
2+
PackageName: AMDRenderPipelineShaderSDK
3+
GIT_SUBMODULE_STRATEGY: normal
4+
5+
stages:
6+
- build
7+
- test
8+
9+
build:
10+
tags:
11+
- windows
12+
- amd64
13+
- rps
14+
stage: build
15+
script:
16+
- 'del /q ".\external\catch2\scripts\updateDocumentToC.py"'
17+
- 'cmake -S ./ -B ./build -G "Visual Studio 16 2019" -A x64 -DRpsEnableVulkanTests=OFF'
18+
- 'cmake --build ./build --config Debug --parallel'
19+
- 'cmake --build ./build --config Release --parallel'
20+
artifacts:
21+
paths:
22+
- build
23+
- docs
24+
exclude:
25+
- build/**/CMakeFiles
26+
- build/**/*.ilk
27+
- build/**/*.obj
28+
29+
build-vs2017:
30+
tags:
31+
- windows
32+
- amd64
33+
stage: build
34+
script:
35+
- 'del /q ".\external\catch2\scripts\updateDocumentToC.py"'
36+
- 'cmake -S ./ -B ./build_vs2017 -G "Visual Studio 15 2017" -A x64 -DRpsEnableVulkanTests=ON'
37+
- 'cmake --build ./build_vs2017 --config Debug --parallel'
38+
- 'cmake --build ./build_vs2017 --config Release --parallel'
39+
artifacts:
40+
paths:
41+
- build_vs2017
42+
- docs
43+
exclude:
44+
- build_vs2017/**/CMakeFiles
45+
- build_vs2017/**/*.ilk
46+
- build_vs2017/**/*.obj
47+
48+
test:
49+
tags:
50+
- windows
51+
- amd64
52+
- rps
53+
stage: test
54+
script:
55+
- 'del /q ".\external\catch2\scripts\updateDocumentToC.py"'
56+
- cd build
57+
- 'ctest -C Release -V --output-on-failure --output-log rpsTestLog.txt --parallel 8'
58+
artifacts:
59+
name: "%PackageName%-%CI_COMMIT_TAG%-%CI_COMMIT_REF_NAME%-%CI_COMMIT_SHORT_SHA%"
60+
paths:
61+
- rpsTestLog.txt

.gitmodules

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[submodule "external/catch2"]
2+
path = external/catch2
3+
url = https://github.com/catchorg/Catch2.git
4+
[submodule "external/imgui"]
5+
path = external/imgui
6+
url = https://github.com/ocornut/imgui.git

0 commit comments

Comments
 (0)