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
|
let discretePhysDevices = V.filter
|
||||||
(\(_, devProps, devFeatures) ->
|
(\(_, devProps, devFeatures) ->
|
||||||
Vk.deviceType devProps == Vk.PHYSICAL_DEVICE_TYPE_DISCRETE_GPU &&
|
Vk.deviceType devProps == -- Vk.PHYSICAL_DEVICE_TYPE_DISCRETE_GPU &&
|
||||||
Vk.geometryShader devFeatures
|
Vk.geometryShader devFeatures
|
||||||
)
|
)
|
||||||
devicesWithPropsAndFeatures
|
devicesWithPropsAndFeatures
|
||||||
|
|
|
@ -42,7 +42,6 @@ executable vulkan-tutorial
|
||||||
build-depends: base >=4.14.3.0
|
build-depends: base >=4.14.3.0
|
||||||
, sdl2
|
, sdl2
|
||||||
, vulkan
|
, vulkan
|
||||||
, vulkan-api
|
|
||||||
, vulkan-utils
|
, vulkan-utils
|
||||||
, VulkanMemoryAllocator
|
, VulkanMemoryAllocator
|
||||||
, wavefront
|
, wavefront
|
||||||
|
|
Loading…
Reference in a new issue