Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Advertise VK_FORMAT_A2R10G10B10_UNORM_PACK32 as a surface format. #673

Merged
merged 1 commit into from
Jul 17, 2019

Conversation

cdavis5e
Copy link
Collaborator

The documentation for the corresponding Metal format recommends using it
on displays with wide-color output to reduce banding artifacts, and thus
implies that it is possible to use it with a CAMetalLayer.

My investigation found that, surprisingly, MTLPixelFormatRGB10A2Unorm is
also supported.

The documentation for the corresponding Metal format recommends using it
on displays with wide-color output to reduce banding artifacts, and thus
implies that it is possible to use it with a CAMetalLayer.
@billhollings billhollings merged commit 88d07f7 into KhronosGroup:master Jul 17, 2019
@tmm1 tmm1 mentioned this pull request Jun 25, 2020
cdavis5e added a commit to cdavis5e/MoltenVK that referenced this pull request Jun 25, 2020
…format.

The corresponding Metal format is now documented as supported for
`CAMetalLayer`, confirming my findings in KhronosGroup#673.

Only support the 10-10-10-2 formats on macOS. iOS and tvOS instead have
extended-range formats, which unfortunately have no Vulkan equivalents.
I've added them anyway for completeness. I suppose if Vulkan ever does
get these formats, we'll then be ready to expose them as surface
formats.
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