Skip to content

Add B5G6R5_UNORM and B5G5R5A1_UNORM formats - #137

Merged
squidbus merged 1 commit into
renderbag:mainfrom
squidbus:formats
Nov 18, 2026
Merged

squidbus merged 1 commit into
renderbag:mainfrom
squidbus:formats

Conversation

@squidbus

@squidbus squidbus commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

These are supported by Direct3D 12.0 (required), Vulkan (required), and Metal (any Apple GPU). Since Metal does not support 16-bit packed formats on non-Apple GPUs, I added a capability flag for this. Anyone not targeting Intel Macs can ignore it and use native support, anyone who is can use the flag to know when they have to manually re-encode the image data.

There are some Sonic '06 resource mods that have textures in these formats, which we'd like to support without requiring re-encoding them.

@squidbus
squidbus merged commit 230c502 into renderbag:main Nov 18, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants