make runnable on non-discrete GPUs

This commit is contained in:
nek0 2023-04-19 16:05:52 +02:00
parent 153a2764a2
commit 728d21a340
2 changed files with 1 additions and 2 deletions

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

View file

@ -42,7 +42,6 @@ executable vulkan-tutorial
build-depends: base >=4.14.3.0
, sdl2
, vulkan
, vulkan-api
, vulkan-utils
, VulkanMemoryAllocator
, wavefront