=?UTF-8?Q?J=C3=B3zef=20Kucia=20?=: tests: Skip DXGI_FORMAT_R24G8_TYPELESS tests on radv.

Alexandre Julliard julliard at winehq.org
Mon Mar 4 14:44:26 CST 2019


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

Author: Józef Kucia <jkucia at codeweavers.com>
Date:   Mon Mar  4 13:15:21 2019 +0100

tests: Skip DXGI_FORMAT_R24G8_TYPELESS tests on radv.

Allows running all tests cleanly on radv. We have to implement formats
emulation in vkd3d to fix the test.

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>

---

 tests/d3d12.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/tests/d3d12.c b/tests/d3d12.c
index ac58565..0e32f40 100644
--- a/tests/d3d12.c
+++ b/tests/d3d12.c
@@ -16162,6 +16162,13 @@ static void test_depth_stencil_sampling(void)
     {
         vkd3d_test_set_context("Test %u", i);
 
+        /* FIXME: Implement format substitution. */
+        if (tests[i].typeless_format == DXGI_FORMAT_R24G8_TYPELESS && is_radv_device(device))
+        {
+            skip("radv doesn't support VK_FORMAT_D24_UNORM_S8_UINT.\n");
+            continue;
+        }
+
         reset_command_list(command_list, context.allocator);
 
         init_depth_stencil(&ds, device, context.render_target_desc.Width,




More information about the wine-cvs mailing list