Tests: cover graphics PSO hooks on the GPU without game files #941
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!941
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-941"
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?
@ChalanaGimhanaX on GitHub · 2026-11-24 09:00 UTC · original
ChalanaGimhanaX:tests/gpu-graphics-pso-e2e→main· +467 −0 · 1 files · 1 commits · openEvery GPU test in
crates/xcl/tests/gpu_pso_e2e.rsskips whenXCL_SAMPLE_RPFis unset, so the D3D12.X graphics pipeline hooks have no game-free GPU coverage onmain. This adds an integration test binary mirroringgpu_compute_e2e.rswith minimal hand-encoded console VS/PS containers. No runtime files or game data are touched.What is in it
crates/xcl/tests/gpu_graphics_e2e.rs: four synthetic GPU tests coveringCreateGraphicsPipelineState(VS user-SGPR descriptor load + PS discard/interpolation, rect-list topology 19rect_list_gsexpansion, cold-cache async stand-in resolution and drop cleanup) andID3D12Device2::CreatePipelineState(console graphics stream routing andE_INVALIDARGrefusal of an MS container in the AS slot).Tested
rustc 1.100.0 (0ef1bc386 2026-11-09), debug build, tested on both GPUs on this machine:32.0.21030.11004):.\scripts\test.ps1(cargo test --workspace -- --test-threads=4): 720 passed, 0 failed, 41 ignored (0 GPU skips; 2 debug-layer tests skipped becaused3d12SDKLayers.dllis not installed)XCL_ADAPTER=radeon XCL_REQUIRE_GPU=wave64,mesh cargo test -p xcl --test gpu_graphics_e2e: 4 passed, 0 failedXCL_SPLIT_WAVE64=1 cargo test -p xcl --test gpu_graphics_e2e: 4 passed, 0 failedXCL_ASYNC_PSO=0 cargo test -p xcl --test gpu_graphics_e2e: 4 passed, 0 failed (1 skipped:async_graphics_pso_registers_real_pso_and_cleans_up_on_drop)610.88/32.0.16.1088):XCL_ADAPTER=nvidia .\scripts\test.ps1(cargo test --workspace -- --test-threads=4): 720 passed, 0 failed, 41 ignored (2 GPU skips:gpu_geometry_wave32_prefix_count_over_a_mask,gpu_wave32_program_in_wave64_hardware—no wave64; plus the 2 debug-layer skips)XCL_ADAPTER=nvidia cargo test -p xcl --test gpu_graphics_e2e: 4 passed, 0 failed (0 skips)Not tested
d3d12SDKLayers.dllnot installed) and optionalXCL_SAMPLE_*retail-data testsAI use
@dcastell1 on GitHub · 2026-11-24 09:11 UTC · original
Verified on Windows 11 10.0.26300, NVIDIA GeForce RTX 5090 (driver 621.24), Rust 1.100.0 MSVC 14.44.35207, debug build, on clean
main@beaa245(713 passed, 0 failed, 41 ignored on this box):Four more passing tests than main; the graphics PSO hook coverage runs on this GPU without game files, which is what it was written for.
Tree restored afterwards (md5 and a full diff against a clean checkout), hardware adapter, no Wine, no game data. AI-assisted (opencode): applied the patch to a built tree, ran the suite, reverted it.
@Aniseto on GitHub · 2026-11-24 09:42 UTC · original · edited 2026-11-24 10:05 UTC
Verified on Windows 11 Pro build 26200, NVIDIA GeForce RTX 5070 Ti (driver 32.0.16.2124, wave32 only), Intel Core i5-12400F, 64 GB RAM, Rust 1.100.0 MSVC 14.44.35207, DXC 1.9.2609.5, debug build, on
91ca6ce(detached worktree fromrefs/pull/941/head):The graphics PSO hook coverage runs on this GPU without game files, which is what it was written for.
Tree untouched afterwards (git status clean, no local changes), hardware adapter, no Wine, no game data. Not tested: Intel GPUs, RDNA2/RDNA4, optional
XCL_SAMPLE_*retail-data tests.AI-assisted (OpenCode), model: DeepSeek V4.1 Flash 1017 - checked out the PR's head commit in a detached worktree, built it, ran the test binary, wrote this report; the worktree was not modified.
@SlopTart on GitHub · 2026-11-24 10:37 UTC · original
Linux / AMD RDNA3 datapoint.
Merged state: head
91ca6ceonto main9aec53d, clean merge.Full suite,
cargo test --workspace --release --no-fail-fast --target x86_64-pc-windows-gnu -- --test-threads=4: 717 passed, 11 failed, 41 ignored; failures are the known Wine-lane set from my #42 rows plus this rig's title-textures flake family (see #718). GPU graphics-PSO hooks tests green.Not tested: retail titles (none here), Windows, RDNA4.
Counts only, no game data.
Machine: RX 7900 XT (RADV NAVI31), Mesa 26.2.5, kernel 7.2 (Arch), Proton Experimental (wine-11.0), patched vkd3d-proton v3.1, Rust cross
x86_64-pc-windows-gnu,XCL_NETWORK=0, release profile,--test-threads=4. My Linux rows: #42 / #718.AI use: Hermes agent (local Qwen-class) ran the suite and drafted this; I checked it before posting.
@DavidM1911 on GitHub · 2026-11-24 13:51 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:Thanks!
@DavidM1911 on GitHub · 2026-11-26 03:11 UTC · original
Re-verification on RTX 3060 Ti (Windows 11), new head merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, 27 ignored. The earlier merge conflict is resolved.Thanks!
— Devin
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.