[PR #2247] [MERGED] dds_png: preview R8 and R8G8 UNORM texture exports #2251

Closed
opened 2026-11-26 21:20:34 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/2247
Author: @kirigayakazima
Created: 11/26/2026
Status: ✅ Merged
Merged: 11/26/2026
Merged by: @aslan2142

Base: main ← Head: codex/dds-png-r8-rg8-unorm


📝 Commits (1)

  • f833599 dds_png: preview R8 and R8G8 UNORM texture exports

📊 Changes

2 files changed (+25 additions, -6 deletions)

View changed files

📝 tests/test_dds_png_dx10.py (+13 -0)
📝 tools/dds_png.py (+12 -6)

📄 Description

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.py
  • python -I tests/test_dds_png.py
  • python -I tests/test_dds_subresources.py
  • git diff --check and the changed-path no-game-data scan passed.
  • Shared main baseline: 498 semantic test files, 6,351 tests passed.

GPUs tested: N/A (synthetic CPU tests).

AI-assisted: Yes.

Checklist

  • Based on current main and merges cleanly with the tested base.
  • One topic.
  • No game data, keys or decryption.
  • Translator contract table: N/A.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/2247 **Author:** [@kirigayakazima](https://github.com/kirigayakazima) **Created:** 11/26/2026 **Status:** ✅ Merged **Merged:** 11/26/2026 **Merged by:** [@aslan2142](https://github.com/aslan2142) **Base:** `main` ← **Head:** `codex/dds-png-r8-rg8-unorm` --- ### 📝 Commits (1) - [`f833599`](https://github.com/ubiquitarianism/leonida/commit/f833599c85985c7f502cd6ccc3740bd5630551b4) dds_png: preview R8 and R8G8 UNORM texture exports ### 📊 Changes **2 files changed** (+25 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `tests/test_dds_png_dx10.py` (+13 -0) 📝 `tools/dds_png.py` (+12 -6) </details> ### 📄 Description Claimed in the coordination issue as: [DDS-PNG-R8-RG8-UNORM](https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7189018014) 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.py` - `python -I tests/test_dds_png.py` - `python -I tests/test_dds_subresources.py` - `git diff --check` and the changed-path no-game-data scan passed. - Shared main baseline: 498 semantic test files, 6,351 tests passed. GPUs tested: N/A (synthetic CPU tests). AI-assisted: Yes. ### Checklist - [x] Based on current main and merges cleanly with the tested base. - [x] One topic. - [x] No game data, keys or decryption. - Translator contract table: N/A. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
4ld0 2026-11-26 21:20:34 +01:00
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
starred/leonida#2251
No description provided.