vk: Add iGPU detection

This commit is contained in:
kd-11 2026-04-25 20:57:31 +03:00 committed by kd-11
parent 7ea0a96d02
commit d40a4ee04e

View file

@ -133,6 +133,8 @@ namespace vk
operator VkPhysicalDevice() const;
operator VkInstance() const;
bool is_integrated_gpu() const { return props.deviceType == VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU; }
};
class render_device