LunarG/VulkanTools

apidump: Print VkDeviceAddress in hex.

dorian-apanel-intel opened this issue · 0 comments

Currently VkDeviceAddress is printed in decimal format:

Thread 0, Frame 0:
vkGetBufferDeviceAddressKHR(device, pInfo) returns VkDeviceAddress 18446664944411934720:
    device:                         VkDevice = 00000215359B2600
    pInfo:                          const VkBufferDeviceAddressInfo* = 00000061570FC518:
        sType:                          VkStructureType = VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_INFO (1000244001)
        pNext:                          const void* = NULL
        buffer:                         VkBuffer = 00000216EC3AA820

I think it would be more useful to have it in hex, just like object handles.

Same issue I see with VkDebugUtilsObjectNameInfoEXT.objectHandle