Skip to content

Commit 0ab7e34

Browse files
committed
FidelityFX Parallel Sort v1.0
0 parents  commit 0ab7e34

27 files changed

Lines changed: 2831 additions & 0 deletions

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
bin/

.gitlab-ci.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
variables:
2+
SampleName: FfxParallelSort
3+
GIT_SUBMODULE_STRATEGY: normal
4+
stages:
5+
- build
6+
- deploy
7+
build_dx12:
8+
tags:
9+
- windows
10+
- amd64
11+
stage: build
12+
script:
13+
- 'cmake -S sample -B sample/build/DX12 -G "Visual Studio 16 2019" -A x64 -DGFX_API=DX12 -DBUILD_INSTALLER=ON'
14+
- 'cmake --build sample/build/DX12 --config Release'
15+
artifacts:
16+
paths:
17+
- sample/bin/
18+
package_sample:
19+
tags:
20+
- windows
21+
- amd64
22+
stage: deploy
23+
dependencies:
24+
- build_dx12
25+
script:
26+
- echo "Packaging build"
27+
- echo cd .\sample\bin\ > %SampleName%_DX12.bat
28+
- echo start %SampleName%_DX12.exe >> %SampleName%_DX12.bat
29+
artifacts:
30+
name: "%SampleName%-%CI_COMMIT_TAG%-%CI_COMMIT_REF_NAME%-%CI_COMMIT_SHORT_SHA%"
31+
paths:
32+
- "sample/bin/"
33+
- "sample/media/"
34+
- "docs/"
35+
- "readme.md"
36+
- "license.txt"
37+
- "%SampleName%_DX12.bat"

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "libs/cauldron"]
2+
path = sample/libs/cauldron
3+
url = ../../GPUOpen-LibrariesAndSDKs/Cauldron.git

LICENSE.txt

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Copyright (c) 2020 Advanced Micro Devices, Inc. All rights reserved.
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy
4+
of this software and associated documentation files (the "Software"), to deal
5+
in the Software without restriction, including without limitation the rights
6+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7+
copies of the Software, and to permit persons to whom the Software is
8+
furnished to do so, subject to the following conditions:
9+
10+
The above copyright notice and this permission notice shall be included in
11+
all copies or substantial portions of the Software.
12+
13+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19+
THE SOFTWARE.

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# FidelityFX Parallel Sort
2+
3+
The AMD FidelityFX Parallel Sort provides an open source header implementation to easily integrate a highly optimized compute-based radix sort into your game.
4+
5+
Features of the implementation:
6+
7+
- Direct and Indirect execution support
8+
- RDNA+ optimized algorithm
9+
- Support for DirectX 12
10+
- Shaders written in HLSL utilizing SM 6.0 wave-level operations
11+
- DirectX 12 sample
12+
13+
Resources:
14+
15+
Introduction to GPU Radix Sort - http://www.heterogeneouscompute.org/wordpress/wp-content/uploads/2011/06/RadixSort.pdf

0 commit comments

Comments
 (0)