dds_png: preview R8 and R8G8 UNORM texture exports #2247
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!2247
Loading…
Reference in a new issue
No description provided.
Delete branch "codex/dds-png-r8-rg8-unorm"
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: DDS-PNG-R8-RG8-UNORM
Depends on: #2218, #2158, #2157 (overlapping DDS layout or dispatch edits). #2248 (adjacent texture dispatch cases; retain both on integration). Each branch builds directly on main. These references flag textual merge conflicts.
What and why
Preview DXGI R8_UNORM and R8G8_UNORM exports with their stored red and green components, zero for absent color channels and opaque alpha. Cover padded rows and truncated input. These are formats the repository’s TTPF tooling can already export.
Tested
Windows, Python 3.14.7. The regression failed on the parent commit and passed with this change.
python -I tests/test_dds_png_dx10.pypython -I tests/test_dds_png.pypython -I tests/test_dds_subresources.pygit diff --checkand the changed-path no-game-data scan passed.GPUs tested: N/A (synthetic CPU tests).
AI-assisted: Yes.
Checklist
Tested on Windows 11, Python 3.12.10, with this PR merged onto current upstream main.
tests/test_dds_png_dx10.py: 6 passed, 4 subtests passed (main: 5 passed, 2 subtests).(AI-assisted test run; output checked by hand.)
Merged through the integration PR #2394 (DDS preview formats batch), as head
f833599c8, with a merge commit, so your commits stay yours.Thanks @kirigayakazima, and thanks to DeadlyChirp and lixonik for the Windows runs.
AI-assisted (Claude Code, Claude Opus 5.5 and Claude Fable 5.2)