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

Zebediah Figura (she/her) zfigura at codeweavers.com
Fri Jan 14 12:40:02 CST 2022


On 1/10/22 08:00, Conor McCarthy wrote:
> The Wait() implementation was added some time ago and these tests succeed.
> 
> Signed-off-by: Conor McCarthy <cmccarthy at codeweavers.com>
> ---
>   tests/d3d12.c | 7 -------
>   1 file changed, 7 deletions(-)
> 

Not on my machine ;-)

I'm getting test hangs on most runs. I also see messages like these 
pretty much every time:


meg at uriel:~/git/build-vkd3d$ ./tests/d3d12
d3d12:582: Driver name: radv, driver info: Mesa 21.3.3.
fixme:d3d12_command_queue_Wait: Failed to acquire Vulkan semaphore for 
fence 0x55cba26777b0, value 0x2, completed value 0x1.
d3d12:33296: Test failed: Got unexpected return value 0.
d3d12:33298: Test failed: Got 0xffff0000, expected 0xff00ff00 at (0, 0, 0).
d3d12:33301: Test failed: Got unexpected value 1.


Looking at the implementation I'm not sure how it's supposed to work 
when Wait() is called before Signal() or before a signal operation is 
queued. Nor do I see any indication that this is invalid in the 
documentation. Am I missing something?



More information about the wine-devel mailing list