Commit 95f24f47 authored by Jakob Bornecrantz's avatar Jakob Bornecrantz

comp: Debug print Vulkan device and version

parent 3a4e0209
Pipeline #33103 passed with stages
in 48 seconds
......@@ -846,6 +846,13 @@ vk_select_physical_device(struct vk_bundle *vk)
vk->physical_device = physical_devices[gpu_index];
// Debug print info.
VkPhysicalDeviceProperties pdp;
vk->vkGetPhysicalDeviceProperties(physical_devices[gpu_index], &pdp);
VK_DEBUG(vk, "Selected device:\n\tname: %s\n\tversion: %u.%u.%u",
pdp.deviceName, VK_VERSION_MAJOR(pdp.apiVersion),
// Fill out the device memory props as well.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment