Repository navigation
Tests: align device_x UAV strip and pso cache marker tests with main - #2233
raylitebull wants to merge 2 commits into
Conversation
6a70b7e to
50e4805
Compare
|
Updated Verified locally ( |
|
Regression run of Against the limits in CONTRIBUTING.md: 104 % of AMD Radeon RX 9070 (RDNA4, driver 32.0.32029.2010), Ryzen 7 7800X3D, 32 GB, Windows 11 build 26300, Rust 1.100.0, AI use: Claude Code (Claude Opus 5.5) built both trees and ran |
|
Independent Windows run on 50e4805. Windows 11 build 26300, Ryzen 7 9800X3D, RTX 3080 Ti (621.35), Rust 1.99.1 MSVC, debug.
For a control, I restored only the two affected source files from 9633138 in the same checkout and ran the three named lib tests. The cache assertion read 68 instead of 1, the UAV-strip assertion saw 28 instead of 85, and the promotion test still passed. I restored the PR files afterward. AI-assisted. Codex (GPT-6, exact variant unavailable) ran the suite and control and drafted this report. |
|
Independent check on RTX 5070 Ti, exact PR head Tested
The four failures on both revisions are Identical 26 explicit SKIPPED lines in both full runs: 20 no native wave64, 3 refused per-lane cases ( Not tested: retail smoke/release build on this PR (test-only diff), AMD/Intel/native wave64, game-data sample coverage. No runtime-correctness or merge-approval claim. Logs remain local. AI use: Codex desktop, GPT-6 (exact variant not exposed), inspected the diff, checked out the exact revision, ran the builds/tests and extracted these results. No source changes. |
|
Patch check before spending a build on it: this does not apply to current main. It applies on its declared base ( |
|
Correction to my line above: by the time I posted it the PR had already moved ( |
Reconciles two
#[cfg(test)]assertion mismatches onmaincaused by independently merged PR pairs:crates/xcl/src/hle/d3d12x/device_x.rs: alignshle::d3d12x::device_x::tests::pc_resource_desc_strips_uav_on_unsupported_formats_and_msaawith D3D12.X: global shader-visible sampler heap, typed UAV validation, and occlusion/query VA fixes #1991's UAV promotion (85 -> 28,88 -> 87).crates/xcl/src/gpu/recomp/pso.rs: alignsgpu::recomp::pso::shader_cache_tests::rerouted_disk_entries_follow_the_direct_translator(.dxil[0]->.dxil[67]) with Shaders: validate DXIL containers in the translated/v2 disk cache #2064'sDXBCtest header alongside Recompiler: enormous compute programs take the direct DXIL translator #2120.Part of #1833 (test-only fix restoring
cargo test -p xcl --libonmain).What is in it
crates/xcl/src/hle/d3d12x/device_x.rs(#[cfg(test)]only): remove formats85(B5G6R5_UNORM) and88(B8G8R8X8_UNORM) from the unpromoted UAV-strip loop inpc_resource_desc_strips_uav_on_unsupported_formats_and_msaa(already verified inuav_format_promotion_and_linearization) while keeping direct!texture_format_allows_uav(85)/!texture_format_allows_uav(88)assertions and unpromoted non-UAV / MSAA checks.crates/xcl/src/gpu/recomp/pso.rs(#[cfg(test)]only): read.dxil[67]instead of.dxil[0]inrerouted_disk_entries_follow_the_direct_translator(matchingdirect_and_hlsl_disk_entries_are_separateafter Shaders: validate DXIL containers in the translated/v2 disk cache #2064).Tested
rustc 1.99.1 (58cf8f9c3 2026-10-13), WARP (D3D12), rebased cleanly ontof087b998(50e4805b).cargo test -p xcl --lib -- --nocapture "hle::d3d12x::device_x::tests" "gpu::recomp::pso::shader_cache_tests": 30 passed, 0 failed, 0 ignored (0.12s,0new warnings).Regression run
#[cfg(test)]-only changes (no runtime code touched).Not tested
cargo test --workspacesuite, standalonescripts/smoke.ps1(test-only PR), and Linux/Wine/vkd3d-proton.AI use