docs(textures): sync BCPack table counts, bcpack_tool.py CLI flags, and tile mode rule #2427
No reviewers
No assignees
Labels
No labels
bug
dependencies
documentation
enhancement
missing claim
needs rebase
needs-triage
question
ready-for-agent
submodules
No project
No milestone
Dependencies
No dependencies set
Notifications
1 participant
Due date
No due date set.
Reference
leonida/mandy!2427
Loading…
Reference in a new issue
No description provided.
Delete branch "docs/textures-bcpack-tables-and-cli"
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?
Pull request successfully merged and closed
Claimed in the coordination issue as: DOC-TEXTURES-BCPACK-CLI (https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7208856827)
What and why
docs/textures.mdwithtools/bcpack_tables.py(BC1: 252 confirmed / 3 provisional; BC4: 2 confirmed / 170 provisional; BC5: 5 confirmed / 209 provisional).modetiling rule with(mode >> 1) & 0xFintools/tex_headers.py.tools/bcpack_tool.pyCLI flags (--codec,[--history <path>], and--provisionalvsttpf_mips.py's--allow-provisional).Tested
tests/test_bcpack.py(20 OK),tests/test_bcpack_tables.py(34 OK),tests/test_bcpack_tool.py(18 OK),tests/test_tex_headers.py(78 OK),tests/test_ttpf_mips.py(93 OK).tests/test_docs_*.py+tests/test_text_write_line_endings.py: OK.python -I scripts/check_no_game_data.py docs/textures.md: exit 0.GPUs tested: n/a
AI-assisted: yes (Antigravity gemini-4-neon)
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed. (n/a — not a translator rule)Approving. Merged onto current main together with the other doc PRs of this batch: no conflicts, and the doc validators (
tests/-k doc: 95 passed, 207 subtests) pass. Recounted fromtools/bcpack_tables.pyon main: BC1 252 confirmed / 3 provisional (6, 71, 122; 9, 67, 68, 74 are in CONFIRMED), BC4 2 / 170 (52, 190), BC5 5 / 209 (105, 182, 183, 222, 255), all exactly as the new rows say.bcpack.ALL_CODECSis [1, 3, 4, 5, 6, 7], so<1|3|4|5|6|7>is more accurate than<1..7>.--provisionalisbcpack_tool decode's flag and--allow-provisionalisttpf_mips.py's, as written. One small follow-up:bcpack_tool.py's own usage docstring still says--codec <1..7>.VERIFY-2427— verified head53bd3fd037merged cleanly withmain030d2039eon Windows 11 Pro (build 26200), synthetic test vectors and live tool-table inspection only.Red (
main030d2039e) -> Green (030d2039e+53bd3fd037)main:docs/textures.mdagainsttools/bcpack_tables.py(BC1_HISTORY_CONFIRMED/PROVISIONAL = 252/3,BC4 = 2/170,BC5 = 5/209),tools/bcpack_tool.py(--codec {1,3,4,5,6,7},--provisional,--history), andtools/tex_headers.py(gfx10_tile_bytes(0) == gfx10_tile_bytes(1) == gfx10_tile_bytes(32) == 65536via(mode >> 1) & 0xF) -> FAILED on all five stale claims (248/7,0/55,3/211,--codec <1..7>/--allow-provisional, and"every other observed mode uses 4 KiB blocks").docs/textures.md<->bcpack_tables.py/bcpack_tool.py/tex_headers.pycheck -> OK.python -I tests/test_bcpack.py,tests/test_bcpack_tables.py,tests/test_bcpack_tool.py,tests/test_tex_headers.py(78 OK),tests/test_ttpf_mips.py,tests/test_docs_links.py,tests/test_docs_encoding.py, andtests/test_text_write_line_endings.py-> all OK.AI-assisted.
Red/green: Docs only: Syncs BCPack history counts, bcpack_tool.py codec/flag syntax and the tile-mode rule in docs/textures.md with tools/bcpack_tables.py, bcpack_tool.py and tex_headers.py on main.
Targeted batch (PR tests, tests importing the changed modules, docs tests, translator when touched) merged on main 7daa4a4a5 in GitHub Actions: no new failure. Docs checked by a separate reviewer against the code on main.
AI-assisted (Claude Code, Claude Opus 5.5)