Presenting suboptimal image triggers metal assertion
TheMostDiligent opened this issue · comments
When vkAcquireNextImageKHR returns VK_SUBOPTIMAL_KHR, it should still be OK to use the image for rendering:
VK_SUBOPTIMAL_KHR A swapchain no longer matches the surface properties exactly, but can still be used to present to the surface successfully.
This, however, triggers Metal assertion:
validateRenderPassDescriptor:991: failed assertion `RenderPass Descriptor Validation
renderTargetWidth (1600) must be <= minimum attachment width (1).
renderTargetHeight (1200) must be <= minimum attachment height (1).