Pass correct wait semaphore array size to queue submit

This commit is contained in:
Billy Laws 2022-10-22 14:53:25 +01:00
parent c78a4b9699
commit dd360b8f75

View File

@ -95,7 +95,7 @@ namespace skyline::gpu {
gpu.vkQueue.submit(vk::SubmitInfo{
.commandBufferCount = 1,
.pCommandBuffers = &*commandBuffer,
.waitSemaphoreCount = static_cast<u32>(waitSemaphores.size()),
.waitSemaphoreCount = static_cast<u32>(fullWaitSemaphores.size()),
.pWaitSemaphores = fullWaitSemaphores.data(),
.pWaitDstStageMask = fullWaitStages.data(),
.signalSemaphoreCount = static_cast<u32>(fullSignalSemaphores.size()),