2
0
mirror of https://github.com/skyline-emu/skyline.git synced 2025-06-22 00:19:27 +03:00

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

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