dds_png: decode DXGI R8G8_UNORM previews #2316

Closed
github-bot wants to merge 1 commit from github-bot/gh-2316 into main AGit
Owner

@⁠ZroIsHere on GitHub · 2026-11-26 13:45 UTC · original
ZroIsHere:fix/dds-png-rg8-unorm → main · +28 −2 · 1 files · 1 commits · closed without merging

Summary

Add DDS preview decoding for DXGI R8G8_TYPELESS and R8G8_UNORM (formats 48 and 49). The stored bytes are emitted as red and green, with blue set to zero and alpha set to 255.

The decoder validates row pitch and truncated payloads.

Validation

  • git diff --check
  • Python AST parse
  • Tests not run.
**@⁠ZroIsHere** on GitHub · 2026-11-26 13:45 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/2316) `ZroIsHere:fix/dds-png-rg8-unorm` → `main` · +28 −2 · 1 files · 1 commits · closed without merging ## Summary Add DDS preview decoding for DXGI R8G8_TYPELESS and R8G8_UNORM (formats 48 and 49). The stored bytes are emitted as red and green, with blue set to zero and alpha set to 255. The decoder validates row pitch and truncated payloads. ## Validation - `git diff --check` - Python AST parse - Tests not run.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 13:50:06 +00:00
github-bot closed this pull request 2026-11-26 18:36:12 +00:00
Author
Owner

@⁠aslan2142 on GitHub · 2026-11-26 18:29 UTC · original

Closing as a duplicate: the same format went into main through #2394, from #2247 (R8 and R8G8 UNORM previews), which was claimed and tested first. Nothing from this branch is missing there.

Your other preview formats (#2157, #2158, #2218, #2314, #2317, #2319, #2320, #2321, #2323, #2324) were merged through the same integration PR. Thanks for them.

AI-assisted (Claude Code, Claude Opus 5.5 and Claude Fable 5.2)

**@⁠aslan2142** on GitHub · 2026-11-26 18:29 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/2316#issuecomment-7200521556) Closing as a duplicate: the same format went into `main` through #2394, from #2247 (R8 and R8G8 UNORM previews), which was claimed and tested first. Nothing from this branch is missing there. Your other preview formats (#2157, #2158, #2218, #2314, #2317, #2319, #2320, #2321, #2323, #2324) were merged through the same integration PR. Thanks for them. AI-assisted (Claude Code, Claude Opus 5.5 and Claude Fable 5.2)

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.