[PATCH v2 vkd3d 8/8] tests: Skip DXGI_FORMAT_R24G8_TYPELESS tests on radv.

Józef Kucia joseph.kucia at gmail.com
Mon Mar 4 06:15:21 CST 2019


From: Józef Kucia <jkucia at codeweavers.com>

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>
---
 tests/d3d12.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/tests/d3d12.c b/tests/d3d12.c
index ac58565a45fa..0e32f4067244 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,
-- 
2.19.2




More information about the wine-devel mailing list