Swapchain: Only check that queueFamilyIndexCount is greater than 0.
From review feedback. We're not sure, and so we won't check that it is greater
than 1.
diff --git a/layers/swapchain.cpp b/layers/swapchain.cpp
index 379d291..7c19c27 100644
--- a/layers/swapchain.cpp
+++ b/layers/swapchain.cpp
@@ -1396,7 +1396,7 @@
// Validate pCreateInfo->imageSharingMode and related values:
if (pCreateInfo->imageSharingMode == VK_SHARING_MODE_CONCURRENT) {
- if ((pCreateInfo->queueFamilyIndexCount <= 1) ||
+ if ((pCreateInfo->queueFamilyIndexCount < 1) ||
!pCreateInfo->pQueueFamilyIndices) {
skipCall |= LOG_ERROR(VK_DEBUG_REPORT_OBJECT_TYPE_DEVICE_EXT, device, "VkDevice",
SWAPCHAIN_CREATE_SWAP_BAD_SHARING_VALUES,