util: Extend vk_enum_to_str with bitmasks
vk_enum_to_str only generates literals for enums with type: @type="enum", but many enums have type: @type="bitmask" and were not taken into account here.
Main changes: Empty enums are now always skipped For some enums skipped *MAX_ENUM value:
- for enum created like VkFlag64 (VkAccessFlagBits2, VkFormatFeatureFlagBits2, VkMemoryDecompressionMethodFlagBitsNV, VkPipelineStageFlagBits2)
- also for VkShaderStageFlagBits because VK_SHADER_STAGE_ALL has same value with VK_SHADER_STAGE_FLAG_BITS_MAX_ENUM
Signed-off-by: Illia Abernikhin illia.abernikhin@globallogic.com
Closes: #8173 (closed)