Conor McCarthy : vkd3d: Use Vulkan null descriptors if EXT_robustness2 is available.

Alexandre Julliard julliard at winehq.org
Thu Mar 24 17:38:02 CDT 2022


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

Author: Conor McCarthy <cmccarthy at codeweavers.com>
Date:   Thu Mar 24 14:36:09 2022 +1000

vkd3d: Use Vulkan null descriptors if EXT_robustness2 is available.

This implements all remaining unsupported image view dimensions and saves
a small amount of resources because null buffers and images are no longer
needed. It matches the D3D12 requirement that all reads return zero,
which is not strictly true of the existing implementation using resources
of small but non-zero size. Warnings on null view creation are silenced
because there should no longer be a difference from D3D12 behaviour.

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>

---

 README                     |  2 +-
 configure.ac               |  2 +-
 libs/vkd3d/device.c        |  8 +++++
 libs/vkd3d/resource.c      | 76 ++++++++++++++++++++++++++++++----------------
 libs/vkd3d/vkd3d_private.h |  1 +
 5 files changed, 61 insertions(+), 28 deletions(-)

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



More information about the wine-cvs mailing list