mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-27 00:20:53 +01:00
[PR #2320] [MERGED] Add R10G10B10A2_UINT PNG preview support #2324
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#2324
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/2320
Author: @ZroIsHere
Created: 11/26/2026
Status: ✅ Merged
Merged: 11/26/2026
Merged by: @aslan2142
Base:
main← Head:fix/dds-png-r10-uint📝 Commits (1)
943bba2Add R10G10B10A2_UINT PNG preview support📊 Changes
2 files changed (+3 additions, -3 deletions)
View changed files
📝
tools/dds_png.py(+2 -2)📝
tools/tex_export.py(+1 -1)📄 Description
Adds PNG preview support for DXGI_FORMAT_R10G10B10A2_UINT. The decoder extracts the packed 10:10:10:2 channels and scales each integer channel to the PNG byte range using the existing bitmask conversion path. The texture exporter documentation now lists this format as supported.
DXGI format reference: https://learn.microsoft.com/en-us/windows/win32/api/dxgiformat/ne-dxgiformat-dxgi_format
Validation: Python AST parsing and
git diff --checkpassed. No tests were run.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.