diff --git a/include/vulkan/utility/vk_format_utils.h b/include/vulkan/utility/vk_format_utils.h index 9af341c..fb3456d 100644 --- a/include/vulkan/utility/vk_format_utils.h +++ b/include/vulkan/utility/vk_format_utils.h @@ -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 inline bool vkuFormatIsXChromaSubsampled(VkFormat format); // Returns whether a VkFormat is YChromaSubsampled diff --git a/scripts/generators/format_utils_generator.py b/scripts/generators/format_utils_generator.py index c65463d..7fe0aab 100644 --- a/scripts/generators/format_utils_generator.py +++ b/scripts/generators/format_utils_generator.py @@ -178,7 +178,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 inline bool vkuFormatIsXChromaSubsampled(VkFormat format); // Returns whether a VkFormat is YChromaSubsampled