I am trying to get the maximum memory allocation size, which is accessible from VkPhysicalDeviceMaintenance3Properties. How do I get this information? If I understand correctly, I need to get VkPhysicalDeviceProperties2, but calling vkGetPhysicalDeviceProperties2 crashes this application.
Thank you @krOoze . I have loaded the extension and the command, now I can run vkGetPhysicalDeviceProperties2. Do you know how I can then get VkPhysicalDeviceMaintenance3Properties? I am under the impression from the doc that it would be included in pNext, but I thought pNext is an input, which I set to null in my implementation.
Ah OK I did it. So I create a VkPhysicalDeviceMaintenance3Properties instance, set the sType to VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_3_PROPERTIESm and pNext to NULL, then set this to vkPhysicalDeviceProperties2.pNext. Many thanks!