Skip to content

Commit a0632ab

Browse files
kurbecorys
authored andcommitted
FidelityFX FSR3 3.0.3
1 parent d7531ae commit a0632ab

File tree

811 files changed

+98258
-6395
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

811 files changed

+98258
-6395
lines changed

.gitlab-ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ package_release_samples:
156156
- ./LICENSE.txt
157157
- ./readme.md
158158
- ./sample.cmake
159+
- ./Third_party_notices.txt
159160

160161
package_debug_samples:
161162
stage: package
@@ -179,3 +180,4 @@ package_debug_samples:
179180
- ./LICENSE.txt
180181
- ./readme.md
181182
- ./sample.cmake
183+
- ./Third_party_notices.txt

BuildAllCauldronEffectsSolution.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ if not exist build\ (
2626
)
2727

2828
cd build
29-
cmake -A x64 .. -DBUILD_TYPE=ALL_SAMPLES -DFFX_API=CAULDRON
29+
cmake -A x64 .. -DBUILD_TYPE=ALL_SAMPLES -DFFX_API=CAULDRON %*
3030

3131
:: Come back to root level
3232
cd ..
33-
pause
33+
pause
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
@echo off
2+
call BuildAllCauldronEffectsSolution.bat -DFFX_BUILD_AS_DLL=1

BuildAllNativeEffectsSolution.bat

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
:: Start by building the backend SDK
44
echo Building native backend
55
cd sdk
6-
call BuildFidelityFXSDK.bat
6+
call BuildFidelityFXSDK.bat %*
77
cd ..
88

99
echo.
@@ -16,8 +16,8 @@ if not exist build\ (
1616
)
1717

1818
cd build
19-
cmake -A x64 .. -DBUILD_TYPE=ALL_SAMPLES -DFFX_API=NATIVE
19+
cmake -A x64 .. -DBUILD_TYPE=ALL_SAMPLES -DFFX_API=NATIVE %*
2020

2121
:: Come back to root level
2222
cd ..
23-
pause
23+
pause

BuildAllNativeEffectsSolutionDll.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
@echo off
2+
call BuildAllNativeEffectsSolution.bat -DFFX_BUILD_AS_DLL=1

BuildBlurSolution.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ if not exist build\ (
2626
)
2727

2828
cd build
29-
cmake -A x64 .. -DBUILD_TYPE=FFX_BLUR -DFFX_API=CAULDRON
29+
cmake -A x64 .. -DBUILD_TYPE=FFX_BLUR -DFFX_API=CAULDRON %*
3030

3131
:: Come back to root level
3232
cd ..
33-
pause
33+
pause

BuildCACAOSolution.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ if not exist build\ (
2626
)
2727

2828
cd build
29-
cmake -A x64 .. -DBUILD_TYPE=FFX_CACAO -DFFX_API=CAULDRON
29+
cmake -A x64 .. -DBUILD_TYPE=FFX_CACAO -DFFX_API=CAULDRON %*
3030

3131
:: Come back to root level
3232
cd ..
33-
pause
33+
pause

BuildCASSolution.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ if not exist build\ (
2626
)
2727

2828
cd build
29-
cmake -A x64 .. -DBUILD_TYPE=FFX_CAS -DFFX_API=CAULDRON
29+
cmake -A x64 .. -DBUILD_TYPE=FFX_CAS -DFFX_API=CAULDRON %*
3030

3131
:: Come back to root level
3232
cd ..
33-
pause
33+
pause

BuildCauldronSolution.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ if not exist build\ (
2626
)
2727

2828
cd build
29-
cmake -A x64 .. -D BUILD_TYPE=CAULDRON
29+
cmake -A x64 .. -D BUILD_TYPE=CAULDRON %*
3030

3131
:: Come back to root level
3232
cd ..
33-
pause
33+
pause

BuildDOFSolution.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ if not exist build\ (
2626
)
2727

2828
cd build
29-
cmake -A x64 .. -DBUILD_TYPE=FFX_DOF -DFFX_API=CAULDRON
29+
cmake -A x64 .. -DBUILD_TYPE=FFX_DOF -DFFX_API=CAULDRON %*
3030

3131
:: Come back to root level
3232
cd ..
33-
pause
33+
pause

BuildFSRSolution.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ if not exist build\ (
2626
)
2727

2828
cd build
29-
cmake -A x64 .. -DBUILD_TYPE=FFX_FSR -DFFX_API=CAULDRON
29+
cmake -A x64 .. -DBUILD_TYPE=FFX_FSR -DFFX_API=CAULDRON %*
3030

3131
:: Come back to root level
3232
cd ..
33-
pause
33+
pause

BuildFSRSolutionNative.bat

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
@echo off
2+
3+
echo ===============================================================
4+
echo.
5+
echo FidelityFX Build System
6+
echo.
7+
echo ===============================================================
8+
echo Checking pre-requisites...
9+
10+
:: Check if cmake is installed
11+
cmake --version > nul 2>&1
12+
if %errorlevel% NEQ 0 (
13+
echo Cannot find path to CMake. Is CMake installed? Exiting...
14+
exit /b -1
15+
) else (
16+
echo CMake Ready.
17+
)
18+
19+
:: Start by building the backend SDK
20+
echo Building native backend
21+
cd sdk
22+
call BuildFidelityFXSDK.bat
23+
cd ..
24+
25+
echo.
26+
echo Building FSR sample solution
27+
echo.
28+
29+
:: Check directories exist and create if not
30+
if not exist build\ (
31+
mkdir build
32+
)
33+
34+
cd build
35+
cmake -A x64 .. -DBUILD_TYPE=FFX_FSR -DFFX_API=NATIVE %*
36+
37+
:: Come back to root level
38+
cd ..
39+
pause

BuildFSRSolutionNativeDll.bat

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
@echo off
2+
3+
echo ===============================================================
4+
echo.
5+
echo FidelityFX Build System
6+
echo.
7+
echo ===============================================================
8+
echo Checking pre-requisites...
9+
10+
:: Check if cmake is installed
11+
cmake --version > nul 2>&1
12+
if %errorlevel% NEQ 0 (
13+
echo Cannot find path to CMake. Is CMake installed? Exiting...
14+
exit /b -1
15+
) else (
16+
echo CMake Ready.
17+
)
18+
19+
:: Start by building the backend SDK
20+
:: CUSTOM_CHANGES_TO_FSR3 build FSR3 DLL with RelWithDebInfo configuration
21+
echo Building native backend
22+
cd sdk
23+
call BuildFidelityFXSDK.bat -DFFX_BUILD_AS_DLL=1
24+
cd ..
25+
26+
echo.
27+
echo Building FSR sample solution
28+
echo.
29+
30+
:: Check directories exist and create if not
31+
if not exist build\ (
32+
mkdir build
33+
)
34+
35+
cd build
36+
cmake -A x64 .. -DBUILD_TYPE=FFX_FSR -DFFX_API=NATIVE -DFFX_BUILD_AS_DLL=1
37+
38+
:: Come back to root level
39+
cd ..
40+
pause

BuildHybridReflectionsSolution.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ if not exist build\ (
2626
)
2727

2828
cd build
29-
cmake -A x64 .. -DBUILD_TYPE=FFX_HYBRIDREFLECTIONS -DFFX_API=CAULDRON
29+
cmake -A x64 .. -DBUILD_TYPE=FFX_HYBRIDREFLECTIONS -DFFX_API=CAULDRON %*
3030

3131
:: Come back to root level
3232
cd ..

BuildHybridShadowsSolution.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ if not exist build\ (
2626
)
2727

2828
cd build
29-
cmake -A x64 .. -DBUILD_TYPE=FFX_HYBRIDSHADOWS -DFFX_API=CAULDRON
29+
cmake -A x64 .. -DBUILD_TYPE=FFX_HYBRIDSHADOWS -DFFX_API=CAULDRON %*
3030

3131
:: Come back to root level
3232
cd ..

BuildLPMSolution.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ if not exist build\ (
2626
)
2727

2828
cd build
29-
cmake -A x64 .. -DBUILD_TYPE=FFX_LPM -DFFX_API=CAULDRON
29+
cmake -A x64 .. -DBUILD_TYPE=FFX_LPM -DFFX_API=CAULDRON %*
3030

3131
:: Come back to root level
3232
cd ..

BuildLensSolution.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ if not exist build\ (
2626
)
2727

2828
cd build
29-
cmake -A x64 .. -DBUILD_TYPE=FFX_LENS -DFFX_API=CAULDRON
29+
cmake -A x64 .. -DBUILD_TYPE=FFX_LENS -DFFX_API=CAULDRON %*
3030

3131
:: Come back to root level
3232
cd ..

BuildParallelSortSolution.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ if not exist build\ (
2626
)
2727

2828
cd build
29-
cmake -A x64 .. -DBUILD_TYPE=FFX_PARALLEL_SORT -DFFX_API=CAULDRON
29+
cmake -A x64 .. -DBUILD_TYPE=FFX_PARALLEL_SORT -DFFX_API=CAULDRON %*
3030

3131
:: Come back to root level
3232
cd ..
33-
pause
33+
pause

BuildSPDSolution.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ if not exist build\ (
2626
)
2727

2828
cd build
29-
cmake -A x64 .. -DBUILD_TYPE=FFX_SPD -DFFX_API=CAULDRON
29+
cmake -A x64 .. -DBUILD_TYPE=FFX_SPD -DFFX_API=CAULDRON %*
3030

3131
:: Come back to root level
3232
cd ..
33-
pause
33+
pause

BuildSSSRSolution.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ if not exist build\ (
2626
)
2727

2828
cd build
29-
cmake -A x64 .. -DBUILD_TYPE=FFX_SSSR -DFFX_API=CAULDRON
29+
cmake -A x64 .. -DBUILD_TYPE=FFX_SSSR -DFFX_API=CAULDRON %*
3030

3131
:: Come back to root level
3232
cd ..

BuildVRSSolution.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ if not exist build\ (
2626
)
2727

2828
cd build
29-
cmake -A x64 .. -DBUILD_TYPE=FFX_VRS -DFFX_API=CAULDRON
29+
cmake -A x64 .. -DBUILD_TYPE=FFX_VRS -DFFX_API=CAULDRON %*
3030

3131
:: Come back to root level
3232
cd ..
33-
pause
33+
pause

0 commit comments

Comments
 (0)