Repository navigation
GPU: the host pipeline library works under Proton (null blob for an empty library) - #36
Open
LloydNicholson wants to merge 1 commit into
Open
LloydNicholson wants to merge 1 commit into
LloydNicholson wants to merge 1 commit into
Conversation
An empty library is made with a null blob: vkd3d-proton refuses a non-null blob of length 0, so no pipeline was ever kept. Ported from victory-fork ea43d73 (cf. Marvisak#1722). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Under Proton the host pipeline library was never made, so no pipeline was kept between runs.
An empty library is asked for with an empty Rust slice, whose pointer is dangling but not null. Windows looks at the length only; vkd3d-proton refuses a non-null blob of length 0 with E_INVALIDARG. The call now passes a null blob of length 0, and a refusal is logged with its error.
This is the same fix as Marvisak#1722.
Tested on Linux: Radeon RX 9060 XT (RADV), CachyOS Proton.
victory-gpuunit tests under Proton:main(2e01ab4) 187 passed, 1 failed (a_rejected_blob_gives_an_empty_library); with this change 188 passed, 0 failed.Not tested: Windows (no run and no build there; it was cross-built for x86_64-pc-windows-msvc from Linux), NVIDIA.
cargo clippy --workspace --all-targets --locked -- -D warnings, the same with--all-features, andcargo xtask policyare clean. No game data. AI-assisted.🤖 Generated with Claude Code