AppGpu(AppInstance &inst, uint32_t id, VkPhysicalDevice phys_device, pNextChainInfos chainInfos)
: inst(inst), id(id), phys_device(phys_device) {
+ inst.dll.fp_vkGetPhysicalDeviceProperties(phys_device, &props);
+
// needs to find the minimum of the instance and device version, and use that to print the device info
uint32_t gpu_version = props.apiVersion < inst.instance_version ? props.apiVersion : inst.instance_version;
api_version = make_vulkan_version(gpu_version);
- inst.dll.fp_vkGetPhysicalDeviceProperties(phys_device, &props);
-
inst.dll.fp_vkGetPhysicalDeviceMemoryProperties(phys_device, &memory_props);
inst.dll.fp_vkGetPhysicalDeviceFeatures(phys_device, &features);