Fix doc for vkuFormatIsXChromaSubsampled

Now the documentation matches the implementation.
This commit is contained in:
Juan Ramos 2023-09-29 10:56:21 -06:00 committed by Charles Giessen
parent fd80ac3543
commit 2169a0849e
2 changed files with 2 additions and 2 deletions

View file

@ -227,7 +227,7 @@ inline bool vkuFormatIsPacked(VkFormat format);
inline bool vkuFormatRequiresYcbcrConversion(VkFormat format); inline bool vkuFormatRequiresYcbcrConversion(VkFormat format);
// Returns whether a VkFormat is XChromaSubsampled // 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
inline bool vkuFormatIsXChromaSubsampled(VkFormat format); inline bool vkuFormatIsXChromaSubsampled(VkFormat format);
// Returns whether a VkFormat is YChromaSubsampled // Returns whether a VkFormat is YChromaSubsampled

View file

@ -178,7 +178,7 @@ inline bool vkuFormatIsPacked(VkFormat format);
inline bool vkuFormatRequiresYcbcrConversion(VkFormat format); inline bool vkuFormatRequiresYcbcrConversion(VkFormat format);
// Returns whether a VkFormat is XChromaSubsampled // 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
inline bool vkuFormatIsXChromaSubsampled(VkFormat format); inline bool vkuFormatIsXChromaSubsampled(VkFormat format);
// Returns whether a VkFormat is YChromaSubsampled // Returns whether a VkFormat is YChromaSubsampled