VKD3D-Proton 3.2 Rewrites Shader Translation to Help New Games Run on Linux
The article's text, from Joho no Todai's page.
The VKD3D-Proton team released version 3.2 on December 5, 2026. VKD3D-Proton handles Direct3D 12 for Valve’s Proton compatibility layer, translating graphics commands from Windows games to Vulkan. Version 3.2 focuses on substantial internal changes, with few new features or performance-related changes.
3D games use programs called shaders to calculate effects such as color and lighting. The dxil-spirv component translates DXIL, the intermediate format Direct3D 12 uses for shaders, into SPIR-V for Vulkan.
Programs use branches to choose what to do based on a condition and loops to repeat work. SPIR-V control flow explicitly defines the structure of branches and loops, including where branches merge. Translation involves mapping instructions and rebuilding the control flow correctly.
The developers say dxil-spirv’s control flow structuring was one of the main sources of problems in new games. Improving a translation path shared by many games may help future releases alongside fixes for individual titles.
VKD3D-Proton 3.2: Shader translation overhaul
| Issue | Change in 3.2 |
|---|---|
| DXIL to SPIR-V: Translating branches and loops | |
| One of the main causes of bugs in new games | Rewritten using Mesa as a reference Tested with varied inputs Old implementation removed Better launch-day compatibility expected |
| Recursion in large shaders | |
| Translating long chains of branches can exhaust stack space | Some recursive calls replaced with loops |
Rewriting and testing the translation code
The developers rewrote control flow structuring from scratch. They drew on Mesa’s implementation and report doing extensive fuzz testing, which feeds varied inputs into the code to find bugs.
After the rewrite, a user reported that translating large shaders with complex conditional branches could exhaust the thread’s stack. The developer merged a change that converted some recursive operations into iterative ones. Version 3.2 includes that fix in its copy of dxil-spirv.
Version 3.2 removes the old control flow structuring code entirely. The developers expect new games to be much more likely to run at launch without additional fixes.
Descriptor heaps become the default
Descriptors tell the GPU how to access resources such as textures, which are images applied to objects, and buffers, which hold data. Direct3D 12 can group them in regions of memory called descriptor heaps. Vulkan’s VK_EXT_descriptor_heap extension lets applications reference descriptors directly by their position in the heap.
VKD3D-Proton: Descriptor heaps become the default
| Version | GPU descriptor management | Reason or goal |
|---|---|---|
| 3.1 | Disabled by default Can be enabled manually | Driver quality concerns |
| 3.2 | Enabled by default where supported Robustness enabled by default Can switch to the previous path | Reduce GPU hangs caused by game code |
VKD3D-Proton 3.1, released October 28, 2026, added a heap-based implementation but left it disabled by default because of concerns about driver quality. Version 3.2 makes it the default path on supported systems.
Version 3.2 also enables descriptor heap robustness by default. The goal is to reduce sudden GPU hangs caused by game code. The developer expects the added GPU cost to be very small and limited to descriptors accessed as arrays.
Version 3.2 still supports the previous descriptor buffer path. Users can select it with the VKD3D_CONFIG=no_descriptor_heap environment variable.
Arithmetic and memory allocation also get changes
The update changes how it handles precision qualifiers for fused multiply-add (FMA) operations. According to the developers, a longstanding error in the DXIL documentation led to inconsistent calculation results that previously required per-application workarounds. The change avoids some of those problems.
The update also changes memory allocation for WRITE_BACK. The developers say the documentation was misleading here as well. Some older integrated GPUs without cache-coherent memory, which keeps memory accesses through caches consistent, may see a performance drop. The team says those GPUs fail to meet Direct3D 12 requirements and weighed that potential slowdown when making the change.
For rendering, the team revisited how it clears unordered access views (UAVs), which give the GPU read and write access to resources, to handle application bugs more reliably. It also fixed a regression in batching copy barriers, which control operation order.
The update extends raw buffer support for sparse feedback and addresses bugs with tessellation, which subdivides geometry, and viewports, which define rendering areas. It also changes when per-sample shading is enabled. The developers say this improves performance substantially under certain conditions on systems using Turnip, a Vulkan driver for Adreno GPUs.
NVAPI-related changes add support for features including Linear Swept Spheres, a shape representation used for effects such as hair, and position fetch. On supported systems, cooperative matrix operations now use VK_EXT_cooperative_matrix_maintenance1 in place of NVIDIA’s proprietary extension.
Game-specific workarounds are easier to update
The team also rewrote game-specific workarounds and the code that identifies game engines. Workarounds and detection rules previously hard-coded in C are now managed as data. The developers say that makes updates easier.
Fixing shared code can reduce the need for game-specific workarounds, while making the remaining workarounds easier to add when a new game runs into trouble. What makes this overhaul interesting is how it changes the work of supporting more games.
How the changes reach Proton users
Valve’s stable Proton 11.0-3 pulled VKD3D-Proton from the development branch for Proton 11. Its public source references commit b5cecb2, while the 3.2 release tag points to 16ff748.
The December 5 public source for Proton Experimental’s Bleeding Edge build references the same commit as the VKD3D-Proton 3.2 release tag.
Valve says Bleeding Edge automatically pulls in the latest changes to each component without pre-release testing. Stable releases go through quality assurance and a public release candidate before distribution. The public tag identifies a source revision. Steam’s distribution of executables is a separate step.
Buy the game you want on release day and start playing. Here’s hoping that becomes routine for more games on Linux.
