explicitly enable multiIndirectDraw

This commit is contained in:
nek0 2023-08-25 00:45:42 +02:00 committed by Amedeo Molnár
parent 9d34dacf76
commit 9350198e35

View file

@ -105,6 +105,9 @@ createLogicalDevice physDevice surface = do
deviceCreateInfo = Vk.zero
{ Vk.queueCreateInfos = V.singleton (Vk.SomeStruct queueCreateInfo)
, Vk.enabledExtensionNames = extensionNames
, Vk.enabledFeatures = Just (Vk.zero
{ Vk.multiDrawIndirect = True
} :: Vk.PhysicalDeviceFeatures)
}
shaderDrawParametersFeatures = Vk.zero
{ Vk.shaderDrawParameters = True