Repository navigation
P-9: Create empty host pipeline library on Wine - #58
Merged
ShinniUwU merged 2 commits intoNov 26, 2026
Merged
Conversation
JohnReedV
marked this pull request as ready for review
November 26, 2026 22:40
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.
Problem
On Wine/vkd3d, a first run cannot create the empty D3D12 pipeline library: the
windowsslice wrapper passes a non-null dangling pointer for&[], while vkd3d requires a null pointer with zero length. Leonida then runs without its host pipeline library and cannot keep compiled pipelines for later launches. The same backend incompatibility was reported in VIctory #844.Change
Use the COM vtable call with a null blob pointer only for an empty library. Keep the existing slice call for nonempty saved libraries. Add a GPU regression test for a fresh empty library. P-9 was claimed in the first commit and removed from TODO after validation.
Validation
ec20719452e916b), the new test failed before the change because the empty library could not be created. It passed after the change; all five focused pipeline-library tests passed.blake3/purebecause the default BLAKE3 assembler writes to a read-only Cargo registry in this Linux sandbox.cargo xwin clippy -p leonida-gpu --all-targets --features blake3/pure --locked --offline --target x86_64-pc-windows-msvc -- -D warnings,cargo xtask policy, andgit diff --checkpassed. Windows CI uses the normal build configuration.No game data or raw title logs are attached. AI-assisted.