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

MVKPixelFormats: Handle the B4G4R4A4 format. #2074

Merged
merged 1 commit into from
Nov 23, 2023

Conversation

cdavis5e
Copy link
Collaborator

Handle it similarly to the A4R4B4G4 and A4B4G4R4 formats, with a swizzle. Vulkan requires support for this format.

Fixes the following tests:

  • dEQP-VK.api.info.format_properties.b4g4r4a4_unorm_pack16.
  • dEQP-VK.texture.explicit_lod.2d.formats.b4g4r4a4*

@cdavis5e cdavis5e marked this pull request as draft November 22, 2023 09:48
@cdavis5e
Copy link
Collaborator Author

Hang on--this introduced a bunch of failures with this format...

Handle it similarly to the `A4R4B4G4` and `A4B4G4R4` formats, with a
swizzle. Vulkan requires support for this format.

Fixes the following tests:
* `dEQP-VK.api.info.format_properties.b4g4r4a4_unorm_pack16`.
* `dEQP-VK.texture.explicit_lod.2d.formats.b4g4r4a4*`
@cdavis5e cdavis5e marked this pull request as ready for review November 23, 2023 07:59
@cdavis5e
Copy link
Collaborator Author

OK, I think I'm satisfied that I fixed all the failures I added.

@billhollings billhollings merged commit 5bd65fc into KhronosGroup:main Nov 23, 2023
6 checks passed
@cdavis5e cdavis5e deleted the b4g4r4a4-unorm branch November 23, 2023 21:25
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.

None yet

2 participants