Conor McCarthy : vkd3d: Create one fence worker thread per command queue.

Alexandre Julliard julliard at winehq.org
Mon May 2 15:34:30 CDT 2022


Module: vkd3d
Branch: master
Commit: 488722b9b52abdd5f4c057ba9eb6e3f92b897f0a
URL:    https://source.winehq.org/git/vkd3d.git/?a=commit;h=488722b9b52abdd5f4c057ba9eb6e3f92b897f0a

Author: Conor McCarthy <cmccarthy at 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 at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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=488722b9b52abdd5f4c057ba9eb6e3f92b897f0a



More information about the wine-cvs mailing list