import vulkan 

proc create_vulkan_fences*( vulkan_device: VkDevice 
                          ): seq[VkFence] = 
 
 var 
  fenceCreateInfo: VkFenceCreateInfo

 fenceCreateInfo.sType = VK_STRUCTURE_TYPE_FENCE_CREATE_INFO
 fenceCreateInfo.flags = VkFenceCreateFlags VK_FENCE_CREATE_SIGNALED_BIT
 
 for fence in result.mitems: 
  discard vkCreateFence( vulkan_device
                       , addr fenceCreateInfo
                       , nil
                       , addr fence
                       )