From 5b48335ce24b0518600874b7901063ef05bb0164 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20D=C3=B6singer?= Date: Tue, 10 Sep 2013 12:14:02 +0200 Subject: [PATCH] d3d8/tests: Mark YUY2 and UYVY broken. --- dlls/d3d8/tests/device.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dlls/d3d8/tests/device.c b/dlls/d3d8/tests/device.c index 2b791f7913c..83cdaf9f84d 100644 --- a/dlls/d3d8/tests/device.c +++ b/dlls/d3d8/tests/device.c @@ -4362,8 +4362,11 @@ static void test_surface_blocks(void) * which doesn't match the format spec. On newer Nvidia cards * it has the correct 4x4 block size */ {MAKEFOURCC('A','T','I','2'), "ATI2N", 4, 4, TRUE, FALSE, FALSE}, - {D3DFMT_YUY2, "D3DFMT_YUY2", 2, 1, FALSE, FALSE, TRUE }, - {D3DFMT_UYVY, "D3DFMT_UYVY", 2, 1, FALSE, FALSE, TRUE }, + /* Windows drivers generally enforce block-aligned locks for + * YUY2 and UYVY. The notable exception is the AMD r500 driver + * in d3d8. The same driver checks the sizes in d3d9. */ + {D3DFMT_YUY2, "D3DFMT_YUY2", 2, 1, TRUE, FALSE, TRUE }, + {D3DFMT_UYVY, "D3DFMT_UYVY", 2, 1, TRUE, FALSE, TRUE }, }; static const struct {