diff options
Diffstat (limited to 'layers')
| -rw-r--r-- | layers/swapchain.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/layers/swapchain.cpp b/layers/swapchain.cpp index 6a868708..bf42b53f 100644 --- a/layers/swapchain.cpp +++ b/layers/swapchain.cpp @@ -1289,23 +1289,7 @@ static bool validateCreateSwapchainKHR(VkDevice device, const VkSwapchainCreateI "bad value(s) for pCreateInfo->queueFamilyIndexCount or pCreateInfo->pQueueFamilyIndices).", sharingModeStr(pCreateInfo->imageSharingMode)); } - } else if (pCreateInfo->imageSharingMode != VK_SHARING_MODE_EXCLUSIVE) { - skip_call |= - log_msg(my_data->report_data, VK_DEBUG_REPORT_ERROR_BIT_EXT, VK_DEBUG_REPORT_OBJECT_TYPE_DEVICE_EXT, - reinterpret_cast<uint64_t>(device), __LINE__, SWAPCHAIN_CREATE_SWAP_BAD_SHARING_MODE, swapchain_layer_name, - "vkCreateSwapchainKHR() called with a non-supported pCreateInfo->imageSharingMode (i.e. %s).", - sharingModeStr(pCreateInfo->imageSharingMode)); - } - - // Validate pCreateInfo->clipped: - if (pCreateInfo && (pCreateInfo->clipped != VK_FALSE) && (pCreateInfo->clipped != VK_TRUE)) { - skip_call |= log_msg(my_data->report_data, VK_DEBUG_REPORT_ERROR_BIT_EXT, VK_DEBUG_REPORT_OBJECT_TYPE_DEVICE_EXT, - reinterpret_cast<uint64_t>(device), __LINE__, SWAPCHAIN_BAD_BOOL, swapchain_layer_name, - "vkCreateSwapchainKHR() called with a VkBool32 value that is neither VK_TRUE nor VK_FALSE, but " - "has the numeric value of %d.", - pCreateInfo->clipped); } - return skip_call; } |
