diff options
author | Liam <byteslice@airmail.cc> | 2022-12-03 16:37:12 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2022-12-04 16:55:13 +0100 |
commit | 18831e0933231661a99e713c4a4fc94153ef0c3b (patch) | |
tree | 6b115f7cdb1817941be071a91c28a8a96a804fe8 /src/video_core/renderer_vulkan/vk_master_semaphore.cpp | |
parent | vulkan_common: correct usage of timeline semaphore fallbacks (diff) | |
download | yuzu-18831e0933231661a99e713c4a4fc94153ef0c3b.tar yuzu-18831e0933231661a99e713c4a4fc94153ef0c3b.tar.gz yuzu-18831e0933231661a99e713c4a4fc94153ef0c3b.tar.bz2 yuzu-18831e0933231661a99e713c4a4fc94153ef0c3b.tar.lz yuzu-18831e0933231661a99e713c4a4fc94153ef0c3b.tar.xz yuzu-18831e0933231661a99e713c4a4fc94153ef0c3b.tar.zst yuzu-18831e0933231661a99e713c4a4fc94153ef0c3b.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_master_semaphore.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/video_core/renderer_vulkan/vk_master_semaphore.cpp b/src/video_core/renderer_vulkan/vk_master_semaphore.cpp index 4e81d3d28..8aa07ef9d 100644 --- a/src/video_core/renderer_vulkan/vk_master_semaphore.cpp +++ b/src/video_core/renderer_vulkan/vk_master_semaphore.cpp @@ -11,10 +11,10 @@ namespace Vulkan { MasterSemaphore::MasterSemaphore(const Device& device) { - static constexpr VkSemaphoreTypeCreateInfoKHR semaphore_type_ci{ - .sType = VK_STRUCTURE_TYPE_SEMAPHORE_TYPE_CREATE_INFO_KHR, + static constexpr VkSemaphoreTypeCreateInfo semaphore_type_ci{ + .sType = VK_STRUCTURE_TYPE_SEMAPHORE_TYPE_CREATE_INFO, .pNext = nullptr, - .semaphoreType = VK_SEMAPHORE_TYPE_TIMELINE_KHR, + .semaphoreType = VK_SEMAPHORE_TYPE_TIMELINE, .initialValue = 0, }; static constexpr VkSemaphoreCreateInfo semaphore_ci{ @@ -28,7 +28,7 @@ MasterSemaphore::MasterSemaphore(const Device& device) { return; } // Validation layers have a bug where they fail to track resource usage when using timeline - // semaphores and synchronizing with GetSemaphoreCounterValueKHR. To workaround this issue, have + // semaphores and synchronizing with GetSemaphoreCounterValue. To workaround this issue, have // a separate thread waiting for each timeline semaphore value. debug_thread = std::jthread([this](std::stop_token stop_token) { u64 counter = 0; |