Repository navigation
Tests: cover BC1 writes to scattered physical pages - #760
gabrielsteglich wants to merge 1 commit into
Conversation
|
Test run of Tested
Review: Test-only on top of #273; I reviewed the top commit only. Not tested: no retail title or regression run (I have no unpacked game), no Run and review by Claude Code (Claude Opus 5.5) on this machine; the review points were checked against the code. |
|
#273 is superseded by #905 (merged in 67a3735), so this branch's base and fixture ( |
Use a synthetic lane fixture from main and compare queue output across noncontiguous pages with a linear decode. Exercise a late page entry and verify that truncated input leaves the failure destination intact. Serialize the BC1 queue tests so the existing exact counter checks still hold. Assisted-by: OpenAI coding agent (GPT-6)
cb1de0f to
9ee0cd3
Compare
|
Thanks for the guidance, @ivall. I rebased the physical-page BC1 test onto |
Empirical test report (9ee0cd3)Commit Hardware / environment
Commands and results
Observed behavior
Not tested
AI use Verified with T3 Code / Codex (gpt-6.2-sol, reasoningEffort: high). Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified counts against pr760-focused.log and published. |
Adds a synthetic regression test for BCPack BC1 requests that write to scattered physical pages. This revision is based directly on
mainat930e8b4, which includes the decoder from #905 (67a3735).What is in it
crates/xcl/src/hle/dstorage.rs, reuse the syntheticbc1-16-1.binfixture and compare the queue's 128-byte output with a linear decode. The successful request crosses a 64 KiB page boundary and resolves its second page after enqueue. The truncated request returnsE_DECOMPRESSION, with the failure destination and guard bytes intact.Tested
cargo build --release --locked --workspaceandcargo test --release --locked --workspace --no-fail-fast -- --test-threads=4 --show-outputcompleted successfully. On9ee0cd3, Cargo reported 752 passed, 0 failed, and 41 ignored. Both BC1 queue tests passed, as did the GPU compute readback.SKIPPED. Two require native wave64 and two require the D3D12 debug layer. Optional sample-data tests were disabled.Regression run
scripts/smoke.ps1ran the same retail title offline for 60 seconds per build with fresh title profiles and separate XCL DXIL caches. These runs check startup. The synthetic test exercises physical-page BC1 writes.mainPR head
Not tested
AI use