fix: pass a null pointer on an empty blob for proton compatibility #311

Closed
github-bot wants to merge 1 commit from github-bot/gh-311 into main AGit
Owner

@⁠corp-0 on GitHub · 2026-11-27 20:55 UTC · original
corp-0:fix/pipeline-library-empty-blob → main · +20 −1 · 1 files · 1 commits · closed without merging

vkd3d-proton rejects CreatePipelineLibrary with a non-null pointer and
zero length (E_INVALIDARG), and a Rust empty slice's pointer is never
null. Under Proton the empty library was never created, so no pipelines
were kept and the early-start list was never written: every run
recompiled all pipelines at first draw.

Windows is unaffected by this change.

**@⁠corp-0** on GitHub · 2026-11-27 20:55 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/311) `corp-0:fix/pipeline-library-empty-blob` → `main` · +20 −1 · 1 files · 1 commits · closed without merging vkd3d-proton rejects CreatePipelineLibrary with a non-null pointer and zero length (E_INVALIDARG), and a Rust empty slice's pointer is never null. Under Proton the empty library was never created, so no pipelines were kept and the early-start list was never written: every run recompiled all pipelines at first draw. Windows is unaffected by this change.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 21:01:14 +00:00
Author
Owner

@⁠1tsethan on GitHub · 2026-11-27 23:01 UTC · original

Independent Windows validation of PR #311.

Tested commit: dad5e48913cb63a34dac6d56c284c04c186eeacf.

cargo test --locked -p victory-gpu pipeline::library -- --nocapture --test-threads=1

Exit: 0.

  • test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 453 filtered out; finished in 1.73s

Coverage here is native Windows pipeline-library tests. Proton behavior remains untested; no Linux/Wine environment is available.

Independent verification with OpenAI Codex assistance. Windows 11 Pro build 26200; Rust 1.98.1 MSVC; Windows SDK libraries from Microsoft.Windows.SDK.CPP.x64 10.0.28000.2957. Test harness used an RTX 3070 Ti / AMD integrated-GPU host; adapter identity was not captured for every test. These are focused checks on the stated PR commit, not gameplay, FPS, or a merged-main integration result.

**@⁠1tsethan** on GitHub · 2026-11-27 23:01 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/311#issuecomment-7229805624) Independent Windows validation of PR #311. Tested commit: `dad5e48913cb63a34dac6d56c284c04c186eeacf`. `cargo test --locked -p victory-gpu pipeline::library -- --nocapture --test-threads=1` Exit: **0**. - test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 453 filtered out; finished in 1.73s Coverage here is native Windows pipeline-library tests. Proton behavior remains untested; no Linux/Wine environment is available. Independent verification with OpenAI Codex assistance. Windows 11 Pro build 26200; Rust 1.98.1 MSVC; Windows SDK libraries from Microsoft.Windows.SDK.CPP.x64 10.0.28000.2957. Test harness used an RTX 3070 Ti / AMD integrated-GPU host; adapter identity was not captured for every test. These are focused checks on the stated PR commit, not gameplay, FPS, or a merged-main integration result. <!-- victory-native-validation-20261128 -->
github-bot closed this pull request 2026-11-28 02:54:34 +00:00
Author
Owner

@⁠trustno1-coder on GitHub · 2026-11-28 02:49 UTC · original

Merged into main (8fc2254) and shipped in v2026.11.27.10. The commit keeps you as its author, so it counts toward the contributors list. GitHub shows this as closed rather than merged only because the commits were applied on top of the newest main (new commit IDs). Thank you!

**@⁠trustno1-coder** on GitHub · 2026-11-28 02:49 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/311#issuecomment-7232618570) Merged into main (8fc2254) and shipped in [v2026.11.27.10](https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/v2026.11.27.10). The commit keeps you as its author, so it counts toward the contributors list. GitHub shows this as closed rather than merged only because the commits were applied on top of the newest main (new commit IDs). Thank you!

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.