From 9350198e3565b1cdb747a86936634ab158b5e0ec Mon Sep 17 00:00:00 2001 From: nek0 Date: Fri, 25 Aug 2023 00:45:42 +0200 Subject: [PATCH] explicitly enable multiIndirectDraw --- src/Devices.hs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Devices.hs b/src/Devices.hs index 7fda8cc..44da9e7 100644 --- a/src/Devices.hs +++ b/src/Devices.hs @@ -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