diff options
author | Liam <byteslice@airmail.cc> | 2023-01-07 17:56:31 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-01-07 20:35:11 +0100 |
commit | c19c8ac92c4554dd1189ebb8d03a7adb79c9980a (patch) | |
tree | ef215a403794e4b8fccf9255f1fafa2dc26d94d2 /src/video_core/renderer_vulkan/vk_scheduler.cpp | |
parent | Merge pull request #9570 from liamwhite/less-clock-boost (diff) | |
download | yuzu-c19c8ac92c4554dd1189ebb8d03a7adb79c9980a.tar yuzu-c19c8ac92c4554dd1189ebb8d03a7adb79c9980a.tar.gz yuzu-c19c8ac92c4554dd1189ebb8d03a7adb79c9980a.tar.bz2 yuzu-c19c8ac92c4554dd1189ebb8d03a7adb79c9980a.tar.lz yuzu-c19c8ac92c4554dd1189ebb8d03a7adb79c9980a.tar.xz yuzu-c19c8ac92c4554dd1189ebb8d03a7adb79c9980a.tar.zst yuzu-c19c8ac92c4554dd1189ebb8d03a7adb79c9980a.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_scheduler.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/video_core/renderer_vulkan/vk_scheduler.cpp b/src/video_core/renderer_vulkan/vk_scheduler.cpp index c2e53a5d5..e03685af1 100644 --- a/src/video_core/renderer_vulkan/vk_scheduler.cpp +++ b/src/video_core/renderer_vulkan/vk_scheduler.cpp @@ -213,6 +213,11 @@ void Scheduler::SubmitExecution(VkSemaphore signal_semaphore, VkSemaphore wait_s .signalSemaphoreCount = num_signal_semaphores, .pSignalSemaphores = signal_semaphores.data(), }; + + if (on_submit) { + on_submit(); + } + switch (const VkResult result = device.GetGraphicsQueue().Submit(submit_info)) { case VK_SUCCESS: break; |