Stefan Dösinger stefan@codeweavers.com writes:
This supersedes patch 109855.
Version 2: Don't check the fill value of D3DFMT_P8. The testbot deviates from real HW. I could mark it broken, but it doesn't seem worth the effort because the format is essentially useless. It can only be used for ColorFill and StretchRect between P8 surfaces.
It doesn't work here (GeForce 320M, Nouveau driver):
../../../tools/runtest -q -P wine -T ../../.. -M d3d9.dll -p d3d9_test.exe.so visual && touch visual.ok visual.c:904: Test failed: Failed to color fill, hr 0x8876086c, fmt=D3DFMT_YUY2. visual.c:910: Test failed: Failed to color fill, hr 0x8876086c, fmt=D3DFMT_YUY2. visual.c:916: Test succeeded inside todo block: Got unexpected hr 0x8876086c, fmt=D3DFMT_YUY2. visual.c:904: Test failed: Failed to color fill, hr 0x8876086c, fmt=D3DFMT_UYVY. visual.c:910: Test failed: Failed to color fill, hr 0x8876086c, fmt=D3DFMT_UYVY. visual.c:916: Test succeeded inside todo block: Got unexpected hr 0x8876086c, fmt=D3DFMT_UYVY.