Module: vkd3d Branch: master Commit: 31a1026d3e3405e787e35ec1332557d75eefccb6 URL: https://source.winehq.org/git/vkd3d.git/?a=commit;h=31a1026d3e3405e787e35ec1...
Author: Conor McCarthy cmccarthy@codeweavers.com Date: Tue Jan 18 23:40:21 2022 +1000
vkd3d/tests: Revert "Enable on vkd3d the tests for ID3D12CommandQueue::Wait().".
This reverts commit 41230b6e763980ad02930213a11336e1358197e3.
The tests can hang and the Wait() implementation has issues.
Signed-off-by: Conor McCarthy cmccarthy@codeweavers.com Signed-off-by: Henri Verbeet hverbeet@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
tests/d3d12.c | 7 +++++++ 1 file changed, 7 insertions(+)
diff --git a/tests/d3d12.c b/tests/d3d12.c index 7d13afc..82f353a 100644 --- a/tests/d3d12.c +++ b/tests/d3d12.c @@ -33303,6 +33303,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); @@ -33378,6 +33384,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);