=?UTF-8?Q?J=C3=B3zef=20Kucia=20?=: vkd3d: Do not disable depth-stencil tests for PSOs with invalid DSV format.

Alexandre Julliard julliard at winehq.org
Thu May 16 14:29:36 CDT 2019


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

Author: Józef Kucia <jkucia at codeweavers.com>
Date:   Wed May 15 13:17:56 2019 +0200

vkd3d: Do not disable depth-stencil tests for PSOs with invalid DSV format.

This is invalid usage according to the D3D12 validation layer. However,
Shadow of the Tomb Raider uses PSOs with DSVFormat equal to
DXGI_FORMAT_UNKNOWN and enabled depth-stencil tests. Moreover, the test
in the next commit passes on Windows with AMD, Intel and Nvidia GPUs.

Signed-off-by: Józef Kucia <jkucia 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       | 14 +++++++--
 libs/vkd3d/state.c         | 78 +++++++++++++++++++++++++++++++++-------------
 libs/vkd3d/vkd3d_private.h |  5 ++-
 3 files changed, 72 insertions(+), 25 deletions(-)

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



More information about the wine-cvs mailing list