Reset wait stage masks for submit info after submitting text overlay, disable depth writes and reads , optimize load and store ops for attachments
This commit is contained in:
parent
52f6f3228d
commit
19e108165c
2 changed files with 6 additions and 4 deletions
|
|
@ -696,6 +696,8 @@ void VulkanExampleBase::submitFrame()
|
|||
submitInfo.pCommandBuffers = &textOverlay->cmdBuffers[currentBuffer];
|
||||
VK_CHECK_RESULT(vkQueueSubmit(queue, 1, &submitInfo, VK_NULL_HANDLE));
|
||||
|
||||
// Reset stage mask
|
||||
submitInfo.pWaitDstStageMask = &submitPipelineStages;
|
||||
// Reset wait and signal semaphores for rendering next frame
|
||||
// Wait for swap chain presentation to finish
|
||||
submitInfo.waitSemaphoreCount = 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue