From dd360b8f75fa2becefd492a8e132b9f9fac8dce5 Mon Sep 17 00:00:00 2001 From: Billy Laws Date: Sat, 22 Oct 2022 14:53:25 +0100 Subject: [PATCH] Pass correct wait semaphore array size to queue submit --- app/src/main/cpp/skyline/gpu/command_scheduler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/cpp/skyline/gpu/command_scheduler.cpp b/app/src/main/cpp/skyline/gpu/command_scheduler.cpp index 0c78c7fb..cbe45632 100644 --- a/app/src/main/cpp/skyline/gpu/command_scheduler.cpp +++ b/app/src/main/cpp/skyline/gpu/command_scheduler.cpp @@ -95,7 +95,7 @@ namespace skyline::gpu { gpu.vkQueue.submit(vk::SubmitInfo{ .commandBufferCount = 1, .pCommandBuffers = &*commandBuffer, - .waitSemaphoreCount = static_cast(waitSemaphores.size()), + .waitSemaphoreCount = static_cast(fullWaitSemaphores.size()), .pWaitSemaphores = fullWaitSemaphores.data(), .pWaitDstStageMask = fullWaitStages.data(), .signalSemaphoreCount = static_cast(fullSignalSemaphores.size()),