explicitly enable multiIndirectDraw

This commit is contained in:
nek0 2023-08-25 00:45:42 +02:00
parent d75e0e1eeb
commit 8aab6e9bbb

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