Remove redundant semaphore wait

Don't need this anymore now that we sync on the host anyways
This commit is contained in:
Wunkolo 2023-08-26 22:11:44 -07:00
parent 085d7d5568
commit 225d2095b9

View file

@ -817,12 +817,6 @@ void RendererVK::display() {
waitSemaphoreStages.emplace_back(waitStageMask);
}
// Ensure a proper semaphore wait on render-finished
// We already wait on the fence, but this must be done to be compliant
// to validation layers
waitSemaphores.emplace_back(renderFinishedSemaphore[frameBufferingIndex].get());
waitSemaphoreStages.emplace_back(vk::PipelineStageFlagBits::eColorAttachmentOutput);
submitInfo.setWaitSemaphores(waitSemaphores);
submitInfo.setWaitDstStageMask(waitSemaphoreStages);
}