diff options
| author | skallweitNV <64953474+skallweitNV@users.noreply.github.com> | 2024-04-10 20:58:40 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-10 11:58:40 -0700 |
| commit | c85dd531d31e5a241d220f20686a9c047432f1c6 (patch) | |
| tree | 9e3d0bc4ae9d5045ab852534a5b81304fa50215f /tools/gfx | |
| parent | 9fe2db1e4950f63aaaa575506486eab153ad448e (diff) | |
fix vulkan shared fence (#3911)
Co-authored-by: Yong He <yonghe@outlook.com>
Diffstat (limited to 'tools/gfx')
| -rw-r--r-- | tools/gfx/vulkan/vk-fence.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gfx/vulkan/vk-fence.cpp b/tools/gfx/vulkan/vk-fence.cpp index 7ef2323f7..f81f56ca7 100644 --- a/tools/gfx/vulkan/vk-fence.cpp +++ b/tools/gfx/vulkan/vk-fence.cpp @@ -54,7 +54,7 @@ Result FenceImpl::init(const IFence::Desc& desc) exportSemaphoreWin32HandleInfoKHR.sType = VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR; exportSemaphoreWin32HandleInfoKHR.pNext = timelineCreateInfo.pNext;; exportSemaphoreWin32HandleInfoKHR.pAttributes = nullptr; - exportSemaphoreWin32HandleInfoKHR.dwAccess = DXGI_SHARED_RESOURCE_READ | DXGI_SHARED_RESOURCE_WRITE; + exportSemaphoreWin32HandleInfoKHR.dwAccess = GENERIC_ALL; exportSemaphoreWin32HandleInfoKHR.name = (LPCWSTR)nullptr; #endif exportSemaphoreCreateInfo.sType = VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_CREATE_INFO_KHR; |
