fix: pass a null pointer on an empty blob for proton compatibility #311
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!311
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-311"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@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 · openvkd3d-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.
@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=1Exit: 0.
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.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.