explicitly enable multiIndirectDraw
This commit is contained in:
parent
9d34dacf76
commit
9350198e35
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