explicitly enable multiIndirectDraw
This commit is contained in:
parent
d75e0e1eeb
commit
8aab6e9bbb
1 changed files with 3 additions and 0 deletions
|
@ -105,6 +105,9 @@ createLogicalDevice physDevice surface = do
|
||||||
deviceCreateInfo = Vk.zero
|
deviceCreateInfo = Vk.zero
|
||||||
{ Vk.queueCreateInfos = V.singleton (Vk.SomeStruct queueCreateInfo)
|
{ Vk.queueCreateInfos = V.singleton (Vk.SomeStruct queueCreateInfo)
|
||||||
, Vk.enabledExtensionNames = extensionNames
|
, Vk.enabledExtensionNames = extensionNames
|
||||||
|
, Vk.enabledFeatures = Just (Vk.zero
|
||||||
|
{ Vk.multiDrawIndirect = True
|
||||||
|
} :: Vk.PhysicalDeviceFeatures)
|
||||||
}
|
}
|
||||||
shaderDrawParametersFeatures = Vk.zero
|
shaderDrawParametersFeatures = Vk.zero
|
||||||
{ Vk.shaderDrawParameters = True
|
{ Vk.shaderDrawParameters = True
|
||||||
|
|
Loading…
Reference in a new issue