To build the samples in the AMD FidelityFX SDK:
-
Download and install the following software developer tool minimum versions:
-
Generate Visual Studio solution:
> <installation path>\BuildSamplesSolution[DX12/VK].bat
The batch file will inquire if the solution should build the SDK as a DLL (builds as a statically linked library if no (
n
) is provided) and which samples should be included.
Please use1
to build a solution with all samples included or provide the list of samples to be included (using the corresponding number of the samples with spaces in between).
This will generate abuild\
directory where you will find the solution for the SDK samples (FidelityFX SDK [DX12/VK] Samples.sln
).
By default, the Visual Studio solution file (.sln) that is generated by CMake will contain projects for all sample applications included in the SDK. To build the projects in the solution, you should click on Build
and then Build solution
from the menu at the top of Visual Studio. This will build all dependencies of the samples (such as the FidelityFX Cauldron Framework), before then building the full collection of sample applications.
To run a project from Visual Studio:
-
Select the project of interest in the solution explorer under the "Effects" folder.
-
Right-click the project and select 'Set as Start-up project'.
-
Click on the
Build
menu item from the toolstrip, and then click onRun
.