Module: vkd3d Branch: master Commit: e63201a7a3970da569a0723613d7d98e93146edc URL: https://gitlab.winehq.org/wine/vkd3d/-/commit/e63201a7a3970da569a0723613d7d9...
Author: Conor McCarthy cmccarthy@codeweavers.com Date: Thu Apr 13 11:18:28 2023 +1000
vkd3d: Delay writing Vulkan descriptors until submitted to a queue.
Eliminates vk_sets_mutex. Performance on average may be lower until the descriptor mutexes are replaced and Vulkan writes are buffered to reduce thunk calls.
---
configure.ac | 2 + include/private/vkd3d_common.h | 1 + libs/vkd3d/command.c | 50 ++++++- libs/vkd3d/device.c | 155 +------------------ libs/vkd3d/resource.c | 328 ++++++++++++++++------------------------- libs/vkd3d/vkd3d_private.h | 51 ++++++- 6 files changed, 220 insertions(+), 367 deletions(-)