VulkanTools icon indicating copy to clipboard operation
VulkanTools copied to clipboard

apidump: Print VkDeviceAddress in hex.

Open dorian-apanel-intel opened this issue 1 year ago • 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

dorian-apanel-intel avatar Mar 18 '24 11:03 dorian-apanel-intel