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

Fix doc for vkuFormatIsXChromaSubsampled #131

Merged
merged 1 commit into from
Oct 1, 2023
Merged

Fix doc for vkuFormatIsXChromaSubsampled #131

merged 1 commit into from
Oct 1, 2023

Conversation

juan-lunarg
Copy link
Contributor

Now the documentation matches the implementation.

@@ -227,7 +227,7 @@ inline bool vkuFormatIsPacked(VkFormat format);
inline bool vkuFormatRequiresYcbcrConversion(VkFormat format);

// Returns whether a VkFormat is XChromaSubsampled
// This corresponds to formats with _422 in their name
// This corresponds to formats with _422 or 420 in their name
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@spencer-lunarg does this match your original intent?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, "X Chroma Subsampled" is both, but Y is only 420

Now the documentation matches the implementation.
@charles-lunarg charles-lunarg merged commit 2169a08 into KhronosGroup:main Oct 1, 2023
12 checks passed
@juan-lunarg juan-lunarg deleted the juan/fix_doc branch October 2, 2023 00:34
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.

3 participants