api_dump doesn't recognize special enums
It would be nice if api_dump printed the enum for VK_QUEUE_FAMILY_IGNORED (for QueueFamilyIndex), VK_REMAINING_MIP_LEVELS (for levelCount), VK_REMAINING_ARRAY_LAYERS (for layerCount) and VK_WHOLE_SIZE for memory sizes and ranges. There are probably others.
All of the listed constants are only references in the "API Constants" section of vk.xml, meaning none of the functions and parameters that could make use of it have a programmatic way to determine which constant is appropriate. This wouldn't be difficult to hard code. A list of objects that name the constant, what types its used on, and the value. E.g {"type": "vkDeviceSize", "constant": "vk_whole_size" , "value": "~0ULL" } I'm leery of hardcoding it though as it makes api_dump more brittle to future changes in the spec. It shouldn't be an issue anytime soon, but would need to be manually modified to take advantage of any new constants added.
Add VK_ATTACHMENT_UNUSED to the list of enums that would be nice to see recognized