Module: vkd3d Branch: master Commit: 488722b9b52abdd5f4c057ba9eb6e3f92b897f0a URL: https://source.winehq.org/git/vkd3d.git/?a=commit;h=488722b9b52abdd5f4c057ba...
Author: Conor McCarthy cmccarthy@codeweavers.com Date: Fri Apr 29 23:21:08 2022 +1000
vkd3d: Create one fence worker thread per command queue.
Simplifies the handling of GPU waits, and in vkd3d-proton is reported to increase performance when support for multiple Vulkan queues is enabled, because it avoids the problem of fences being signaled while they sit in the pending buffer waiting to be moved to the wait buffer.
Based on a vkd3d-proton patch by Philip Rebohle.
Signed-off-by: Conor McCarthy cmccarthy@codeweavers.com Signed-off-by: Henri Verbeet hverbeet@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
libs/vkd3d/command.c | 274 ++++++++++++++------------------------------- libs/vkd3d/device.c | 8 +- libs/vkd3d/vkd3d_private.h | 29 ++--- 3 files changed, 96 insertions(+), 215 deletions(-)
Diff: https://source.winehq.org/git/vkd3d.git/?a=commitdiff;h=488722b9b52abdd5f4c0...