make runnable on non-discrete GPUs
This commit is contained in:
parent
3b69ac0389
commit
d1597f4e35
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