aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/texture_cache/util.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-01-08 02:37:02 -0300
committerReinUsesLisp <reinuseslisp@airmail.cc>2021-01-08 02:47:28 -0300
commitecb015995eaabd36f6344ea02c32790297e4590c (patch)
treebfc96a22372b307e3943c65fb3fb904f7c17f131 /src/video_core/texture_cache/util.cpp
parent2feb58dbd14a13405401cecd65d57f9d07a885d4 (diff)
vk_fence_manager: Use timeline semaphores instead of spin waits
With timeline semaphores we can avoid creating objects. Instead of creating an event, grab the current tick from the scheduler and flush the current command buffer. When the fence has to be queried/waited, we can do so against the master semaphore instead of spinning on an event. If Vulkan supported NVN like events or fences, we could signal from the command buffer and wait for that without splitting things in two separate command buffers.
Diffstat (limited to 'src/video_core/texture_cache/util.cpp')
0 files changed, 0 insertions, 0 deletions