Pre-build binaries
Besides a computer, you need:
- A text/code editor of your choice
- A windows version that supports the Microsoft Agility SDK
- Optional: Graphics diagnostic tools for debugging.
To run the sample directly, you’ll also need a GPU and driver with D3D12 Work Graphs 1.0 support.
You can learn more about D3D12 Work Graphs 1.0 and driver availability on Microsoft’s blog post or on our own blog post on GPUOpen.com.
Don’t worry if your GPU does not support Work Graphs – just follow the instructions on how to install the DirectX WARP adapter instead.
Download the latest release from GitHub and extract the zip file.
Start the WorkGraphPlayground.exe
, complete Tutorial-0
and you’re all set for for the masterclass!
You should see the following window:
Running on GPUs without Work Graphs support
If your GPU does not support Work Graphs, you can download and install the DirectX WARP adapter as follows:
- Download the Microsoft.Direct3D.WARP 1.0.13 NuGet package.
BY INSTALLING THE THIRD PARTY SOFTWARE, YOU AGREE TO BE BOUND BY THE LICENSE AGREEMENT(S) APPLICABLE TO SUCH SOFTWARE and you agree to carefully review and abide by the terms and conditions of all license(s) that govern such software.
- Change the file extension to
.zip
, such that the full filename ismicrosoft.direct3d.warp.1.0.13.zip
- Open or extract the zip file and locate the
d3d10warp.dll
inbuild/native/bin/x64
and copy it next to theWorkGraphPlayground.exe
If you’re building the application from source, the steps above are automated by the CMake build script.
Build from Source
Prerequisites
- CMake 3.17
- Visual Studio 2019
- Windows 10 SDK 10.0.18362.0
- A windows version that supports the Microsoft Agility SDK
Building and running
Clone the repository, including ImGui submodule:
git clone https://github.com/GPUOpen-LibrariesAndSDKs/WorkGraphPlayground.git --recurse-submodules
Configuring with CMake:
cmake -B build .
This command will download the following NuGet packages:
In order to use this software, you may need to have certain third party software installed on your system. Whether you install this software directly or whether a script is provided that, when executed by you, automatically fetches and installs software onto your system BY INSTALLING THE THIRD PARTY SOFTWARE, YOU AGREE TO BE BOUND BY THE LICENSE AGREEMENT(S) APPLICABLE TO SUCH SOFTWARE and you agree to carefully review and abide by the terms and conditions of all license(s) that govern such software. You acknowledge and agree that AMD is not distributing to you any of such software and that you are solely responsible for the installation of such software on your system.
Opening VS Solution:
cmake --open build
In Visual Studio, build and run the Work Graph Playground
project.
Complete Tutorial-0
and you’re all set for for the masterclass!