Conor McCarthy : vkd3d: Do not copy descriptors having identical views.

Alexandre Julliard julliard at winehq.org
Fri Mar 18 16:38:45 CDT 2022


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

Author: Conor McCarthy <cmccarthy at codeweavers.com>
Date:   Tue Feb 22 01:19:01 2022 +1000

vkd3d: Do not copy descriptors having identical views.

Improves performance in Control, which copies large numbers of descriptors
per frame where often only ~10% are not identical.

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       |  8 +++---
 libs/vkd3d/device.c        | 11 ++++++--
 libs/vkd3d/resource.c      | 63 +++++++++++++++++++++++++++-------------------
 libs/vkd3d/vkd3d_private.h | 11 +++++++-
 4 files changed, 60 insertions(+), 33 deletions(-)

Diff:   https://source.winehq.org/git/vkd3d.git/?a=commitdiff;h=2b0fd2a055a4ad4a865a3314963cabd4a48f7249



More information about the wine-cvs mailing list