Module: vkd3d
Branch: master
Commit: 9eba55403d9a3b9cd58f76a6f14ddf5f745df73a
URL: https://source.winehq.org/git/vkd3d.git/?a=commit;h=9eba55403d9a3b9cd58f76a…
Author: Józef Kucia <jkucia(a)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(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 | 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=9eba55403d9a3b9cd58…