Changed queue submission pipeline wait stages to color_attachment
This commit is contained in:
parent
a56f2b2c6f
commit
26fa796517
3 changed files with 5 additions and 25 deletions
|
|
@ -581,21 +581,6 @@ void VulkanExampleBase::renderLoop()
|
|||
vkDeviceWaitIdle(device);
|
||||
}
|
||||
|
||||
VkSubmitInfo VulkanExampleBase::prepareSubmitInfo(
|
||||
std::vector<VkCommandBuffer> commandBuffers,
|
||||
VkPipelineStageFlags *pipelineStages)
|
||||
{
|
||||
VkSubmitInfo submitInfo = vkTools::initializers::submitInfo();
|
||||
submitInfo.pWaitDstStageMask = pipelineStages;
|
||||
submitInfo.waitSemaphoreCount = 1;
|
||||
submitInfo.pWaitSemaphores = &semaphores.presentComplete;
|
||||
submitInfo.commandBufferCount = static_cast<uint32_t>(commandBuffers.size());
|
||||
submitInfo.pCommandBuffers = commandBuffers.data();
|
||||
submitInfo.signalSemaphoreCount = 1;
|
||||
submitInfo.pSignalSemaphores = &semaphores.renderComplete;
|
||||
return submitInfo;
|
||||
}
|
||||
|
||||
void VulkanExampleBase::updateTextOverlay()
|
||||
{
|
||||
if (!enableTextOverlay)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue