Matteo Bruni (@Mystral) commented about dlls/d3dx9_36/tests/surface.c:
todo_wine_if(tests[i].todo) ok(!mismatch_count, "Unexpected number of mismatched pixels %u.\n", mismatch_count);
winetest_pop_context();
- }
- /*
* Test color key handling for compressed formats. On 64-bit the color key
* is used, but on 32-bit it is ignored.
*/
- SetRect(&rect, 0, 0, 4, 4);
- hr = D3DXLoadSurfaceFromMemory(surf, NULL, NULL, dxt5_4_4, D3DFMT_DXT5, 16, NULL, &rect, D3DX_FILTER_NONE,
0xffff0000);
- ok(hr == D3D_OK, "Unexpected hr %#lx.\n", hr);
- mismatch_count = 0;
- expected_dst = (sizeof(void *) == 8) ? dxt5_4_4_expected_64_bit : dxt5_4_4_expected_32_bit;
I'd call those `dxt5_4_4_expected_ck` vs `dxt5_4_4_expected_no_ck` to clarify the expected behavior at the first glance.