[PATCH] dxva2/tests: Fix some test failures on HW devices.

Nikolay Sivov nsivov at codeweavers.com
Mon Nov 29 07:02:50 CST 2021


Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52106
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
 dlls/dxva2/tests/dxva2.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/dlls/dxva2/tests/dxva2.c b/dlls/dxva2/tests/dxva2.c
index 01f8f568e6a..5de39fe1360 100644
--- a/dlls/dxva2/tests/dxva2.c
+++ b/dlls/dxva2/tests/dxva2.c
@@ -575,7 +575,6 @@ static void test_progressive_device(void)
 
     static const D3DFORMAT input_formats[] =
     {
-        D3DFMT_A8R8G8B8,
         D3DFMT_X8R8G8B8,
         D3DFMT_YUY2,
         MAKEFOURCC('N','V','1','2'),
@@ -666,7 +665,6 @@ static void test_progressive_device(void)
     hr = IDirectXVideoProcessor_GetVideoProcessorCaps(processor, &caps);
     ok(hr == S_OK, "Unexpected hr %#x.\n", hr);
     ok(caps.DeviceCaps == DXVA2_VPDev_HardwareDevice, "Unexpected device type %#x.\n", caps.DeviceCaps);
-    ok(caps.InputPool == D3DPOOL_DEFAULT, "Unexpected input pool %#x.\n", caps.InputPool);
     ok(!caps.NumForwardRefSamples, "Unexpected sample count.\n");
     ok(!caps.NumBackwardRefSamples, "Unexpected sample count.\n");
     ok(!caps.Reserved, "Unexpected field.\n");
-- 
2.33.0




More information about the wine-devel mailing list