Direct3D 12 to RDNA 4: a Rust first triangle
10 steps · about 5 h 35 min · Intermediate
- RDNA (microarchitecture) (reference, Wikipedia, 15 min)
Start with the hardware: this gives you the vocabulary of wavefronts, compute units and workgroup processors that the later API steps map onto.
- Creating a basic Direct3D 12 component - Win32 apps (doc, Microsoft Learn, 25 min)
The official walkthrough of the D3D12 frame: allocator, command list, pipeline state object and barrier.
- Learning DirectX 12 – Lesson 1 – Initialize DirectX 12 (tutorial, 3D Game Engine Programming, 45 min)
Sets up the device, queue, swap chain and command list in detail, so you see what the sample code is doing.
- Learning DirectX 12 – Lesson 2 – Rendering (tutorial, 3D Game Engine Programming, 45 min)
Covers resource barriers, root signatures and PSOs while you draw, which is the core of explicit-API rendering.
- 04. Drawing! (tutorial, Braynzar Soft, 30 min)
A second view of upload heaps, default heaps and root signatures, which helps fix the memory model.
- HelloD3D12 (repo, AMD GPUOpen, 40 min)
AMD's own small D3D12 sample, with a textured quad, multiple frames in flight and constant buffers.
- AMD Radeon RX 9070 Series Technical Deep Dive - Architecture (article, TechPowerUp, 20 min)
Now that you know the API, see what RDNA 4 changed in its compute unit and how that affects shader execution.
- windows-rs Direct3D 12 sample (main.rs) (repo, Microsoft / windows-rs, 40 min)
Shows the same D3D12 flow in Rust through the official windows crate, the language ReVIctory uses.
- directx-graphics-samples-rs (repo, damyanp on GitHub, 30 min)
A Rust port of the official D3D12 samples, so you can compare idiomatic Rust patterns with the C++ originals.
- ReTerryDavis/ReVIctory (repo, ReTerryDavis on GitHub, 45 min)
Last, read how a real Rust compatibility layer on D3D12 is laid out, including its config, logs and build setup. It targets RDNA 4 and uses files you supply yourself.