summaryrefslogtreecommitdiff
path: root/src/common/logging/backend.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
commit154a7653f9705ebee095b8f10609fd0f3f9ca394 (patch)
treebfc96a22372b307e3943c65fb3fb904f7c17f131 /src/common/logging/backend.cpp
parentaaf9e39f5624abee7457e8d81048516beaf43c4f (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/common/logging/backend.cpp')
0 files changed, 0 insertions, 0 deletions