You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
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.
The text was updated successfully, but these errors were encountered: