You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If imageSharingMode is VK_SHARING_MODE_CONCURRENT, queueFamilyIndexCount must be greater than 1
If imageSharingMode is VK_SHARING_MODE_CONCURRENT, each element of pQueueFamilyIndices must be unique and must be less than pQueueFamilyPropertyCount returned by either vkGetPhysicalDeviceQueueFamilyProperties or vkGetPhysicalDeviceQueueFamilyProperties2 for the physicalDevice that was used to create device
Calling vulkano::swapchain::Swapchain::new with vulkano::sync::SharingMode::Concurrent(std::vec::Vec::new()) as an argument, would break the former requirement.
Calling vulkano::swapchain::Swapchain::new with vulkano::sync::SharingMode::Concurrent(vec![1, 1]) as an argument, would break the latter requirement.
The text was updated successfully, but these errors were encountered:
The Vulkan specification, mentions the following:
https://docs.rs/vulkano/0.11.1/src/vulkano/swapchain/swapchain.rs.html#366-408
Allows for misuse, for example:
Calling
vulkano::swapchain::Swapchain::new
withvulkano::sync::SharingMode::Concurrent(std::vec::Vec::new())
as an argument, would break the former requirement.Calling
vulkano::swapchain::Swapchain::new
withvulkano::sync::SharingMode::Concurrent(vec![1, 1])
as an argument, would break the latter requirement.The text was updated successfully, but these errors were encountered: