Conor McCarthy : vkd3d: Do not copy descriptors having identical views.
Module: vkd3d Branch: master Commit: 2b0fd2a055a4ad4a865a3314963cabd4a48f7249 URL: https://source.winehq.org/git/vkd3d.git/?a=commit;h=2b0fd2a055a4ad4a865a3314... Author: Conor McCarthy <cmccarthy(a)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(a)codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)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=2b0fd2a055a4ad4a865a...
participants (1)
-
Alexandre Julliard