GPU: retry runtime shader compilation with DXC on Proton #1

Manually merged
github merged 7 commits from gh-pr/1/head into gh-pr/1/base 2026-11-27 01:24:31 +00:00
Owner

@⁠Filip722 on GitHub · 2026-11-26 22:30 UTC · original
Filip722:gpu-proton-shader-fallback → main · +500 −111 · 13 files · 7 commits · merged 2026-11-27 00:40 UTC

Wine's system compiler can return 0x80004005 while building the D3D12 card-memory compare. That disables the card-resident copy path. The same compiler can reject indirect clamps or omit an embedded root signature from the Series S plane compositor.

  • Try the system compiler first and use DXC when compilation fails or a requested root signature is missing.
  • Use the fallback for the compositor, card-memory compare and indirect clamps.
  • Repair the half-view test initializers and descriptor fixture so the Windows regression binaries compile.

On an RTX 5060 Laptop GPU with Bazzite 44, GE-Proton11-14 and vkd3d-proton 3.2.0, the physical card-compare fixture reproduced 0x80004005 before the fallback. The patched fixture passed on the same GPU. A separate Series S integration run recorded real card-memory compare and hash dispatches.

The tested branch passed ten focused Windows-target GPU and shader tests under Proton and the full repository asset policy.

For Proton testing, set VICTORY_DXC to the Windows SDK's dxcompiler.dll or its directory with the matching dxil.dll alongside it.

Adapted from the shared compiler logic in victory-fork #20.

Assisted by Codex (GPT-6.2-Sol High).

**@⁠Filip722** on GitHub · 2026-11-26 22:30 UTC · [original](https://github.com/edsuuu/VI-BR-PORT/pull/1) `Filip722:gpu-proton-shader-fallback` → `main` · +500 −111 · 13 files · 7 commits · merged 2026-11-27 00:40 UTC Wine's system compiler can return `0x80004005` while building the D3D12 card-memory compare. That disables the card-resident copy path. The same compiler can reject indirect clamps or omit an embedded root signature from the Series S plane compositor. - Try the system compiler first and use DXC when compilation fails or a requested root signature is missing. - Use the fallback for the compositor, card-memory compare and indirect clamps. - Repair the half-view test initializers and descriptor fixture so the Windows regression binaries compile. On an RTX 5060 Laptop GPU with Bazzite 44, GE-Proton11-14 and vkd3d-proton 3.2.0, the physical card-compare fixture reproduced `0x80004005` before the fallback. The patched fixture passed on the same GPU. A separate Series S integration run recorded real card-memory compare and hash dispatches. The tested branch passed ten focused Windows-target GPU and shader tests under Proton and the full repository asset policy. For Proton testing, set `VICTORY_DXC` to the Windows SDK's `dxcompiler.dll` or its directory with the matching `dxil.dll` alongside it. Adapted from the shared compiler logic in [victory-fork #20](https://github.com/fxceless/victory-fork/pull/20). Assisted by Codex (GPT-6.2-Sol High).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 01:24:30 +00:00
github manually merged commit 247d9cad94 into gh-pr/1/base 2026-11-27 01:24:31 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.