mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 23:30:53 +01:00
[PR #2157] [CLOSED] dds_png: decode DXGI R16G16B16A16_UNORM previews #2161
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#2161
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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 Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/2157
Author: @ZroIsHere
Created: 11/26/2026
Status: ❌ Closed
Base:
main← Head:codex/dds-rgba16-unorm📝 Commits (2)
26fd8ffdds_png: decode DXGI RGBA16 UNORM previews7286d78docs: list RGBA16 UNORM PNG previews📊 Changes
3 files changed (+40 additions, -3 deletions)
View changed files
📝
tests/test_dds_png_dx10.py(+10 -0)📝
tools/dds_png.py(+28 -2)📝
tools/tex_export.py(+2 -1)📄 Description
Claimed: DDS-RGBA16-UNORM
What and why
Add DXGI format 11 (
R16G16B16A16_UNORM) to the DDS preview decoder. Normalize all four 16-bit channels to RGBA8 with half-up rounding, including row-pitch validation and padding. A synthetic two-row case covers channel boundaries and padded rows.Tested
Not run in this change. The regression case is synthetic and uses no game data.
GPUs tested: n/a
AI-assisted: yes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.