make runnable on non-discrete GPUs

This commit is contained in:
nek0 2023-04-19 16:07:07 +02:00
parent 728d21a340
commit b8fbbc8050

View file

@ -39,7 +39,7 @@ pickPhysicalDevice vkInstance = do
let discretePhysDevices = V.filter
(\(_, devProps, devFeatures) ->
Vk.deviceType devProps == -- Vk.PHYSICAL_DEVICE_TYPE_DISCRETE_GPU &&
-- Vk.deviceType devProps == Vk.PHYSICAL_DEVICE_TYPE_DISCRETE_GPU &&
Vk.geometryShader devFeatures
)
devicesWithPropsAndFeatures