mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Update assert - we handle up to 8 swapchain images
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user