dds_png: decode DXGI R8_UNORM previews #2322

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

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

Summary

Add DDS preview decoding for DXGI R8_TYPELESS and R8_UNORM (formats 60 and 61). The stored byte is emitted as red, with green and blue set to zero and alpha set to 255.

The decoder uses the existing single-channel path, including row-pitch and truncated-payload validation.

Validation

  • git diff --check
  • Tests not run.
**@⁠ZroIsHere** on GitHub · 2026-11-26 13:47 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/2322) `ZroIsHere:fix/dds-png-r8-unorm` → `main` · +11 −5 · 1 files · 1 commits · closed without merging ## Summary Add DDS preview decoding for DXGI R8_TYPELESS and R8_UNORM (formats 60 and 61). The stored byte is emitted as red, with green and blue set to zero and alpha set to 255. The decoder uses the existing single-channel path, including row-pitch and truncated-payload validation. ## Validation - `git diff --check` - Tests not run.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 13:50:15 +00:00
github-bot closed this pull request 2026-11-26 18:36:11 +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/2322#issuecomment-7200520809) 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.