make runnable on non-discrete GPUs
This commit is contained in:
parent
153a2764a2
commit
728d21a340
2 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -42,7 +42,6 @@ executable vulkan-tutorial
|
|||
build-depends: base >=4.14.3.0
|
||||
, sdl2
|
||||
, vulkan
|
||||
, vulkan-api
|
||||
, vulkan-utils
|
||||
, VulkanMemoryAllocator
|
||||
, wavefront
|
||||
|
|
Loading…
Reference in a new issue