Bump descriptor set limits, which became insufficient with the addition of tesselation (should really use separate big desc layouts for them)

This commit is contained in:
Henrik Rydgård
2017-10-26 10:57:01 +02:00
parent 8644e85d3d
commit 07e8b4ff1a
2 changed files with 11 additions and 5 deletions
+5 -1
View File
@@ -758,7 +758,11 @@ void VulkanRenderManager::Run(int frame) {
res = vkQueuePresentKHR(vulkan_->GetGraphicsQueue(), &present);
// TODO: Deal with the VK_SUBOPTIMAL_WSI and VK_ERROR_OUT_OF_DATE_WSI
// return codes
assert(res == VK_SUCCESS);
if (res == VK_ERROR_OUT_OF_DATE_KHR) {
// ignore, it'll be fine. this happens sometimes during resizes, and we do make sure to recreate the swap chain.
} else {
assert(res == VK_SUCCESS);
}
VLOG("PULL: Finished running frame %d", frame);
}