We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69d6d44 commit f7f8faeCopy full SHA for f7f8fae
Graphics/GraphicsEngineVulkan/src/VulkanUtilities/Instance.cpp
@@ -733,13 +733,6 @@ VkPhysicalDevice Instance::SelectPhysicalDevice(uint32_t AdapterId) const noexce
733
const int Priority = GetDeviceTypePriority(DeviceProps.deviceType);
734
if (Priority > BestPriority)
735
{
736
- // Don't replace a hardware device with a software renderer (e.g. llvmpipe).
737
- // On systems without a discrete GPU the loop would otherwise overwrite an
738
- // integrated GPU with the last CPU-type device in the list.
739
- if (SelectedPhysicalDevice != VK_NULL_HANDLE &&
740
- DeviceProps.deviceType == VK_PHYSICAL_DEVICE_TYPE_CPU)
741
- continue;
742
-
743
SelectedPhysicalDevice = Device;
744
BestPriority = Priority;
745
}
0 commit comments