Building FidelityFX SDK Samples
Visual Studio solutions for the FidelityFX SDK
To build the samples in the AMD FidelityFX SDK:
-
Download and install the following software developer tool minimum versions:
- Visual Studio 2022 (Install
vcpkg package manageras part of the install process) - Windows 10 SDK 10.0.18362.0
- Visual Studio 2022 (Install
-
Open the Visual Studio solution:
Terminal window > <installation path>\Samples\FidelityFX_<effect>\dx12\FidelityFX_<effect>_2022.sln -
First time vcpkg installation
- If vcpkg has not previously been initialized in Visual Studio, please do so with the following:
- From the menu, select
Toolsand thenVisual Studio Command Promptto bring up the terminal. - Type
vcpkg integrate installand hitenterkey. - Close and re-open the solution.
- From the menu, select
Building and running in Visual Studio
Building the project
The Visual Studio solution file (.sln) will contain all projects needed to build the effect sample. 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 sample (such as the FidelityFX Cauldron Framework), then build the sample application.
Running the project
To run a project from Visual Studio:
-
If not already highlighted, select the sample project in the solution explorer.
-
Right-click the project and select
Set as Start-up project. -
Right-click the project and select
Properties -
Under
Configuration Properties, click on theDebuggingentry. -
Set
Working Directoryto$(TargetDir)for all configurations (DebugandRelease). -
Click
ApplythenOKto close the properties panel. -
Click on the
Buildmenu item from the toolstrip, and then click onRun.