Update assert - we handle up to 8 swapchain images

This commit is contained in:
baldurk
2019-08-15 12:00:46 +01:00
parent a2c341966a
commit 6755fd96cb
+2 -2
View File
@@ -213,8 +213,8 @@ void VulkanReplay::OutputWindow::Create(WrappedVulkan *driver, VkDevice device,
// your drivers!
RDCASSERT(capabilities.supportedUsageFlags & VK_IMAGE_USAGE_TRANSFER_DST_BIT);
RDCASSERT(capabilities.minImageCount <= 2 &&
(2 <= capabilities.maxImageCount || capabilities.maxImageCount == 0));
RDCASSERT(capabilities.minImageCount <= 8 &&
(8 <= capabilities.maxImageCount || capabilities.maxImageCount == 0));
// check format and present mode from driver
{