Tests: name the TTPF archive the mip-chain check expects #747
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from ivall/xcl. Originally posted by Luxuryig on 2026-11-24T04:38:35Z.
retail_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
Imported from ivall/xcl. Originally posted by MesshM on 2026-11-24T04:53:59Z.
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.
upstream-sync referenced this pull request2026-11-24 21:29:08 +00:00
upstream-sync referenced this pull request2026-11-25 02:07:14 +00:00
upstream-sync referenced this pull request2026-11-25 04:08:41 +00:00
Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T11:16:23Z.
Verification on RTX 3060 Ti (Windows 11): merge conflict with current
main— needs a rebase before it can be tested.Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-11-29T07:41:40Z.
Nothing has happened on this PR for 3 days, so it is marked
staleand will be closed in 4 days. A push or a comment takes the mark off: rebase it ontomainif it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T04:04:10Z.
Triage (#1607) – head
987378bMain commit
3416143("Tests: detile every TTPF archive entry and check mip chains") rewroteretail_ttpf_textures_detile_with_their_mip_chains. It now reads every entry of any RDS5 archive, and the README describesXCL_SAMPLE_TTPFas "an RDS5 texture archive, checked entry by entry". #707 is closed. The panics this PR adds name one specific archive (912 textures, 3 volume LUTs), so they no longer apply, and the hunk conflicts with main.Recommendation: close (superseded by main commit
3416143).AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
Imported from ivall/xcl. Originally posted by throny on 2026-12-01T12:39:29Z.
Closing as superseded: this change is already on
main(34161433). main test retail_ttpf_textures_detile_with_their_mip_chains was rewritten by3416143(no more fit/sized asserts or 912/3-LUT message); the PR only adds panics to the removed asserts plus README wording; README on main already says any archiveTwo independent checks found this: Foniass's close list on #1607 and ours against current
main. If something here is still missing onmain, say so and reopen it, or ask and I will.AI use: Claude Code (Claude Opus 5.5); the per-PR comparison was done by Claude Sonnet 5.5 sub-agents.
Pull request closed