Repository navigation
Conversation
pipelines_load_on_many_threads_at_once returned at "no shader compiler
here" under Wine: Wine's d3dcompiler_47 (vkd3d-shader) refuses
RWByteAddressBuffer.Load ("Method 'Load' is not defined") and stores to
structured buffers ("not yet implemented"), and does not keep a
[RootSignature] attribute in the code. The test never dispatches, so its
96 programs now differ by group size alone, with no resources, and the
empty root signature is serialised apart.
Under vkd3d-proton the test then reaches the library, and needs Marvisak#1722
there (an empty library from a null blob).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
DenRakEiw
left a comment
There was a problem hiding this comment.
Verified locally merged onto origin/main (940d32f, Windows 11 x64, NVIDIA GeForce RTX 5090, Rust 1.98.1 MSVC):
cargo test -p victory-gpu --lib pipeline::library::— 8 passed, 0 failed on RTX 5090cargo clippy -p victory-gpu --all-targets— 0 warningscargo xtask policy— ok (183 files ok)
Clean Wine shader compiler compatibility fix in pipeline/library.rs tests. Looks good.
AI-assisted (Gemini 4 Neon).
catminou4
left a comment
There was a problem hiding this comment.
Static review only: victory-gpu is Windows-only (D3D12/windows_sys) — nothing compiles or runs on macOS; source review of the diff.
GPU tests: library shaders compile with Wine's compiler — Wine-compat test coverage; Windows-only.
|
RX 9070 XT (RADV) under Wine 11.22: the test reaches the library, as described Setup: Arch Linux, RX 9070 XT (RDNA4), RADV / Mesa 26.3.1. System Wine 11.22 with its builtin
Not run: Windows. AI-assisted (Claude Code); numbers from my own runs. |
|
Automated triage for the maintainers. Merge candidate (test only). CI For the maintainers: under Wine this alone moves the test from silently skipped to failing at Generated by Claude Code |
…th Wine's compiler too
|
Code review and RTX 5090 + WARP verification at head
LGTM. |
…e with Wine's compiler too From Marvisak/VIctory#2195 (opened by winne42; original commits and authors kept). Not yet merged upstream. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…th Wine's compiler too
Under Wine and Proton,
pipeline::library::tests::pipelines_load_on_many_threads_at_oncenever runs: it returns at "no shader compiler here". Wine'sd3dcompiler_47(vkd3d-shader) refuses the test's shader withE5005: Method 'Load' is not defined on type 'RWByteAddressBuffer'. That happens with both Ubuntu's Wine 10.0 and Proton Experimental's Wine 11.0. A structured buffer doesn't help either (Structured buffers store is not implemented). And even a shader it does compile has no root signature in it, because it drops[RootSignature](W5302), soCreateRootSignature(0, &codes[0])would fail next.The change
One test, in
crates/victory-gpu/src/pipeline/library.rs. Nothing outside the test changes.[numthreads(i + 1, 1, 1)] void main() {}, with no resources. A load with another program's description is still refused, as the test checks.D3D12SerializeRootSignatureinstead of being taken from the shader.Depends on #1722 under vkd3d-proton
Once the test reaches the library, it calls
open(&device, Vec::new()).expect("an empty library"). vkd3d-proton refuses that non-null empty blob, which is what #1722 fixes. So under vkd3d-proton this test now fails until #1722 is merged, where it used to return early. On Windows nothing changes, because the length alone is checked there.Tested
Linux,
x86_64-pc-windows-msvccross-build (lld-link + xwin), Wine 10.0 with vkd3d-proton 3.1 and DXVKdxgifrom Proton Experimental, RTX 3050 Laptop GPU. Not run on Windows.cargo test -p victory-gpu --lib pipeline::librarygives 8 passed. All 96 programs compile, are stored, and load.an empty library, as described above.a_rejected_blob_gives_an_empty_libraryfails the same way onmain.cargo clippy -p victory-gpu --all-targets --locked -- -D warnings, with and without--all-features: clean.No game data was used.
🤖 Generated with Claude Code