Skip to content

Commit

Permalink
FidelityFX FSR3 3.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
kurbeco authored and rys committed Dec 14, 2023
1 parent d7531ae commit a0632ab
Show file tree
Hide file tree
Showing 811 changed files with 98,258 additions and 6,395 deletions.
2 changes: 2 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ package_release_samples:
- ./LICENSE.txt
- ./readme.md
- ./sample.cmake
- ./Third_party_notices.txt

package_debug_samples:
stage: package
Expand All @@ -179,3 +180,4 @@ package_debug_samples:
- ./LICENSE.txt
- ./readme.md
- ./sample.cmake
- ./Third_party_notices.txt
4 changes: 2 additions & 2 deletions BuildAllCauldronEffectsSolution.bat
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ if not exist build\ (
)

cd build
cmake -A x64 .. -DBUILD_TYPE=ALL_SAMPLES -DFFX_API=CAULDRON
cmake -A x64 .. -DBUILD_TYPE=ALL_SAMPLES -DFFX_API=CAULDRON %*

:: Come back to root level
cd ..
pause
pause
2 changes: 2 additions & 0 deletions BuildAllCauldronEffectsSolutionDll.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@echo off
call BuildAllCauldronEffectsSolution.bat -DFFX_BUILD_AS_DLL=1
6 changes: 3 additions & 3 deletions BuildAllNativeEffectsSolution.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
:: Start by building the backend SDK
echo Building native backend
cd sdk
call BuildFidelityFXSDK.bat
call BuildFidelityFXSDK.bat %*
cd ..

echo.
Expand All @@ -16,8 +16,8 @@ if not exist build\ (
)

cd build
cmake -A x64 .. -DBUILD_TYPE=ALL_SAMPLES -DFFX_API=NATIVE
cmake -A x64 .. -DBUILD_TYPE=ALL_SAMPLES -DFFX_API=NATIVE %*

:: Come back to root level
cd ..
pause
pause
2 changes: 2 additions & 0 deletions BuildAllNativeEffectsSolutionDll.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@echo off
call BuildAllNativeEffectsSolution.bat -DFFX_BUILD_AS_DLL=1
4 changes: 2 additions & 2 deletions BuildBlurSolution.bat
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ if not exist build\ (
)

cd build
cmake -A x64 .. -DBUILD_TYPE=FFX_BLUR -DFFX_API=CAULDRON
cmake -A x64 .. -DBUILD_TYPE=FFX_BLUR -DFFX_API=CAULDRON %*

:: Come back to root level
cd ..
pause
pause
4 changes: 2 additions & 2 deletions BuildCACAOSolution.bat
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ if not exist build\ (
)

cd build
cmake -A x64 .. -DBUILD_TYPE=FFX_CACAO -DFFX_API=CAULDRON
cmake -A x64 .. -DBUILD_TYPE=FFX_CACAO -DFFX_API=CAULDRON %*

:: Come back to root level
cd ..
pause
pause
4 changes: 2 additions & 2 deletions BuildCASSolution.bat
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ if not exist build\ (
)

cd build
cmake -A x64 .. -DBUILD_TYPE=FFX_CAS -DFFX_API=CAULDRON
cmake -A x64 .. -DBUILD_TYPE=FFX_CAS -DFFX_API=CAULDRON %*

:: Come back to root level
cd ..
pause
pause
4 changes: 2 additions & 2 deletions BuildCauldronSolution.bat
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ if not exist build\ (
)

cd build
cmake -A x64 .. -D BUILD_TYPE=CAULDRON
cmake -A x64 .. -D BUILD_TYPE=CAULDRON %*

:: Come back to root level
cd ..
pause
pause
4 changes: 2 additions & 2 deletions BuildDOFSolution.bat
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ if not exist build\ (
)

cd build
cmake -A x64 .. -DBUILD_TYPE=FFX_DOF -DFFX_API=CAULDRON
cmake -A x64 .. -DBUILD_TYPE=FFX_DOF -DFFX_API=CAULDRON %*

:: Come back to root level
cd ..
pause
pause
4 changes: 2 additions & 2 deletions BuildFSRSolution.bat
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ if not exist build\ (
)

cd build
cmake -A x64 .. -DBUILD_TYPE=FFX_FSR -DFFX_API=CAULDRON
cmake -A x64 .. -DBUILD_TYPE=FFX_FSR -DFFX_API=CAULDRON %*

:: Come back to root level
cd ..
pause
pause
39 changes: 39 additions & 0 deletions BuildFSRSolutionNative.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
@echo off

echo ===============================================================
echo.
echo FidelityFX Build System
echo.
echo ===============================================================
echo Checking pre-requisites...

:: Check if cmake is installed
cmake --version > nul 2>&1
if %errorlevel% NEQ 0 (
echo Cannot find path to CMake. Is CMake installed? Exiting...
exit /b -1
) else (
echo CMake Ready.
)

:: Start by building the backend SDK
echo Building native backend
cd sdk
call BuildFidelityFXSDK.bat
cd ..

echo.
echo Building FSR sample solution
echo.

:: Check directories exist and create if not
if not exist build\ (
mkdir build
)

cd build
cmake -A x64 .. -DBUILD_TYPE=FFX_FSR -DFFX_API=NATIVE %*

:: Come back to root level
cd ..
pause
40 changes: 40 additions & 0 deletions BuildFSRSolutionNativeDll.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
@echo off

echo ===============================================================
echo.
echo FidelityFX Build System
echo.
echo ===============================================================
echo Checking pre-requisites...

:: Check if cmake is installed
cmake --version > nul 2>&1
if %errorlevel% NEQ 0 (
echo Cannot find path to CMake. Is CMake installed? Exiting...
exit /b -1
) else (
echo CMake Ready.
)

:: Start by building the backend SDK
:: CUSTOM_CHANGES_TO_FSR3 build FSR3 DLL with RelWithDebInfo configuration
echo Building native backend
cd sdk
call BuildFidelityFXSDK.bat -DFFX_BUILD_AS_DLL=1
cd ..

echo.
echo Building FSR sample solution
echo.

:: Check directories exist and create if not
if not exist build\ (
mkdir build
)

cd build
cmake -A x64 .. -DBUILD_TYPE=FFX_FSR -DFFX_API=NATIVE -DFFX_BUILD_AS_DLL=1

:: Come back to root level
cd ..
pause
2 changes: 1 addition & 1 deletion BuildHybridReflectionsSolution.bat
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ if not exist build\ (
)

cd build
cmake -A x64 .. -DBUILD_TYPE=FFX_HYBRIDREFLECTIONS -DFFX_API=CAULDRON
cmake -A x64 .. -DBUILD_TYPE=FFX_HYBRIDREFLECTIONS -DFFX_API=CAULDRON %*

:: Come back to root level
cd ..
Expand Down
2 changes: 1 addition & 1 deletion BuildHybridShadowsSolution.bat
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ if not exist build\ (
)

cd build
cmake -A x64 .. -DBUILD_TYPE=FFX_HYBRIDSHADOWS -DFFX_API=CAULDRON
cmake -A x64 .. -DBUILD_TYPE=FFX_HYBRIDSHADOWS -DFFX_API=CAULDRON %*

:: Come back to root level
cd ..
Expand Down
2 changes: 1 addition & 1 deletion BuildLPMSolution.bat
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ if not exist build\ (
)

cd build
cmake -A x64 .. -DBUILD_TYPE=FFX_LPM -DFFX_API=CAULDRON
cmake -A x64 .. -DBUILD_TYPE=FFX_LPM -DFFX_API=CAULDRON %*

:: Come back to root level
cd ..
Expand Down
2 changes: 1 addition & 1 deletion BuildLensSolution.bat
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ if not exist build\ (
)

cd build
cmake -A x64 .. -DBUILD_TYPE=FFX_LENS -DFFX_API=CAULDRON
cmake -A x64 .. -DBUILD_TYPE=FFX_LENS -DFFX_API=CAULDRON %*

:: Come back to root level
cd ..
Expand Down
4 changes: 2 additions & 2 deletions BuildParallelSortSolution.bat
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ if not exist build\ (
)

cd build
cmake -A x64 .. -DBUILD_TYPE=FFX_PARALLEL_SORT -DFFX_API=CAULDRON
cmake -A x64 .. -DBUILD_TYPE=FFX_PARALLEL_SORT -DFFX_API=CAULDRON %*

:: Come back to root level
cd ..
pause
pause
4 changes: 2 additions & 2 deletions BuildSPDSolution.bat
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ if not exist build\ (
)

cd build
cmake -A x64 .. -DBUILD_TYPE=FFX_SPD -DFFX_API=CAULDRON
cmake -A x64 .. -DBUILD_TYPE=FFX_SPD -DFFX_API=CAULDRON %*

:: Come back to root level
cd ..
pause
pause
2 changes: 1 addition & 1 deletion BuildSSSRSolution.bat
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ if not exist build\ (
)

cd build
cmake -A x64 .. -DBUILD_TYPE=FFX_SSSR -DFFX_API=CAULDRON
cmake -A x64 .. -DBUILD_TYPE=FFX_SSSR -DFFX_API=CAULDRON %*

:: Come back to root level
cd ..
Expand Down
4 changes: 2 additions & 2 deletions BuildVRSSolution.bat
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ if not exist build\ (
)

cd build
cmake -A x64 .. -DBUILD_TYPE=FFX_VRS -DFFX_API=CAULDRON
cmake -A x64 .. -DBUILD_TYPE=FFX_VRS -DFFX_API=CAULDRON %*

:: Come back to root level
cd ..
pause
pause
Loading

0 comments on commit a0632ab

Please sign in to comment.