Tests: name the TTPF archive the mip-chain check expects #752
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!752
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-752"
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?
@Luxuryig on GitHub · 2026-11-24 04:38 UTC · original
Luxuryig:tests-ttpf-archive-message→main· +14 −3 · 2 files · 1 commits · openretail_ttpf_textures_detile_with_their_mip_chainsonly passes on the archive it was written for: 912 textures and 3 volume LUTs (the README's "909 of 912").XCL_SAMPLE_TTPFwas documented as a generic texture archive, so another archive failed with a baremip chain model: a / bthat looks like a tiling-model bug. A size miss, or an archive with no volume LUTs, now names that expected archive. The numeric asserts are unchanged. Fixes #707.What is in it
crates/xcl/src/gpu/texture.rs: the size-fit failure and an empty volume-LUT list panic with "expected archive has 912 textures and 3 volume LUTs", plus this archive's texture and volume-LUT counts. The 99% size fit, mip closeness, mip tail, and volume roughness asserts are the same.README.md:XCL_SAMPLE_TTPFis that archive, not a generic texture archive.Tested
XCL_SAMPLE_*unset.cargo test -p xcl --lib gpu::texture::tests::retail_ttpf_textures_detile_with_their_mip_chains -- --test-threads=1on987378b: 1 passed, 0 failed, 0 ignored. PrintedXCL_SAMPLE_TTPF not set – skipping..\scripts\test.ps1on987378b(--test-threads=4), run twice: the lib binary stopped at 657 passed, 3 failed, 21 ignored. Failed:hle::d3d12x::title_textures::tests::placed_title_textures_share_vram_and_preserve_pixels(cubemap extra_pages must be reused at same va), thentransitions_apply_when_their_list_is_submittedandhle::d3d12x::vram::tests::d32s8_targets_take_their_own_size_of_video_memorywithPoisonError. That cubemap test passes alone (--test-threads=1). It is not in this diff.cargo test --workspace -- --test-threads=1on987378b: 701 passed, 0 failed, 41 ignored.gpu::recomp::tests::gpu_geometry_wave32_prefix_count_over_a_mask: no wave64gpu::recomp::tests::gpu_wave32_program_in_wave64_hardware: no wave64python .\scripts\test_pr_check.py: 3 tests, OK.Regression run
main:
this PR:
Not tested
C:\Users\User\AppData\Local\Temp\xcl-smoke-game, with--hello, for 20 seconds. A localTitleArgsparameter was added toscripts/smoke.ps1for those runs only and is not in this commit. Stocksmoke.ps1cannot pass title args, so without--hellothe test title exits 1 and smoke counts that as a crash. This smoke does not exercise the TTPF test (XCL_SAMPLE_TTPFunset). The title exits before a frame total is logged, so both runs show frames "none logged".AI use
@MesshM on GitHub · 2026-11-24 04:53 UTC · original
Test run of
987378b265cb6326e43a41da08c428fcd4949424on AMD RDNA4. I merged it onto currentmain64b3f35locally (clean merge) and tested that tree.Tested
stable-x86_64-pc-windows-msvc, debugcargo build --workspace+cargo test --workspace -- --test-threads=4on the merge: 701 passed, 0 failed, 41 ignored, exit code 0;xcllib tests 660 passed, 0 failed, 21 ignoredSKIPPED;retail_ttpf_textures_detile_with_their_mip_chainspasses here withoutXCL_SAMPLE_TTPF(nothing to check), so only the no-sample path ran.Review: Naming the archive the counts belong to turns a bare
a / bmismatch on another archive into a message that says why. Test-only. I found nothing to change.Not tested: no retail title or regression run (I have no unpacked game), no
XCL_SAMPLE_*tests, release build; the PR's head on its old base was not run, only its merge ontomain.Run and review by Claude Code (Claude Opus 5.5) on this machine; the review points were checked against the code.
@DavidM1911 on GitHub · 2026-11-25 11:16 UTC · original
Verification on RTX 3060 Ti (Windows 11): merge conflict with current
main— needs a rebase before it can be tested.View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.