[PATCH vkd3d] vkd3d/tests: Revert "Enable on vkd3d the tests for ID3D12CommandQueue::Wait()."

Conor McCarthy cmccarthy at codeweavers.com
Tue Jan 18 07:40:21 CST 2022


This reverts commit 41230b6e763980ad02930213a11336e1358197e3.

The tests can hang and the Wait() implementation has issues.

Signed-off-by: Conor McCarthy <cmccarthy at codeweavers.com>
---
 tests/d3d12.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/tests/d3d12.c b/tests/d3d12.c
index 9d4fb7d4..ebf137a8 100644
--- a/tests/d3d12.c
+++ b/tests/d3d12.c
@@ -33289,6 +33289,12 @@ static void test_queue_wait(void)
     check_readback_data_uint(&rb, NULL, 0xff00ff00, 0);
     release_resource_readback(&rb);
 
+    if (!vkd3d_test_platform_is_windows())
+    {
+        skip("Wait() is not implemented yet.\n"); /* FIXME */
+        goto skip_tests;
+    }
+
     /* Wait() before CPU signal */
     update_buffer_data(cb, 0, sizeof(blue), &blue);
     queue_wait(queue, fence, 2);
@@ -33364,6 +33370,7 @@ static void test_queue_wait(void)
     check_readback_data_uint(&rb, NULL, 0xff00ff00, 0);
     release_resource_readback(&rb);
 
+skip_tests:
     /* Signal() and Wait() in the same command queue */
     update_buffer_data(cb, 0, sizeof(blue), &blue);
     queue_signal(queue, fence, 7);
-- 
2.34.1




More information about the wine-devel mailing list