We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 931a304 commit 9a33049Copy full SHA for 9a33049
Graphics/GraphicsEngineVulkan/src/VulkanUtilities/Instance.cpp
@@ -714,10 +714,10 @@ VkPhysicalDevice Instance::SelectPhysicalDevice(uint32_t AdapterId) const noexce
714
const auto GetDeviceTypePriority = [](VkPhysicalDeviceType Type) -> int {
715
switch (Type)
716
{
717
- case VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU: return 3;
+ case VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU: return 3;
718
case VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU: return 2;
719
- case VK_PHYSICAL_DEVICE_TYPE_VIRTUAL_GPU: return 1;
720
- default: return 0;
+ case VK_PHYSICAL_DEVICE_TYPE_VIRTUAL_GPU: return 1;
+ default: return 0;
721
}
722
};
723
0 commit comments