This version marks some major changes to the backend and is light on features and performance changes.
Descriptor heap now default
This is now default across the board. The older descriptor buffer path is still well supported,
and will be supported for the foreseeable future behind a VKD3D_CONFIG=no_descriptor_heap flag.
Descriptor heap robustness is also enabled by default. This is intended to reduce the amount of game issues
we have to debug related to random GPU hangs in the wild due to broken game code.
dxil-spirv overhaul
A major source of bugs in new games were related to the control flow structurizer in dxil-spirv.
This has been completely rewritten and is far more robust now.
It is loosely based on Mesa's implementation and has been fuzzed quite hard.
The legacy structurizer has been removed entirely as well.
As a result, new games are far more likely to "just work" on release.
Fixes and workarounds
- Change how precise FMA is handled. DXIL docs were wrong all these years.
Works around some invariance issues in the wild that we used to have to app-opt. - Change how
WRITE_BACKmemory is allocated. Docs were misleading for years here as well.
NOTE: This may slow down certain ancient iGPUs that don't support cached-coherent memory.
This is intentional since these GPUs would not be compliant with D3D12 spec requirements anyway. - Rewrite some details around ClearUAV to better deal with application bugs.
- Fix a regression in copy barrier batching.
- Add various workarounds for games.
- Deal with sparse feedback raw buffers in more cases.
- Deal with some edge cases in tessellation shaders.
- Fix some details around multiple viewports causing issues in Assetto Corza.
- Fix how per-sample shading is enabled. Massively improved performance on Turnip in some edge cases.
Features
- Add some more NvAPI features like Linear Swept Spheres and position fetch.
- Move to
VK_EXT_cooperative_matrix_maintenance1if supported instead of the NV vendor extension.
Misc
- Rewrite how application workarounds and engine detection is done.
This is now more data driven and easier to update compared to the hardcoded C tables we had before.