https://bugs.winehq.org/show_bug.cgi?id=51340
--- Comment #3 from François Gouget fgouget@codeweavers.com --- Created attachment 70211 --> https://bugs.winehq.org/attachment.cgi?id=70211 Increase the tolerance in test_texture_compressed_3d().
I get the same results for d3d10core:c3d10core and d3d11:d3d11. In both cases increasing the tolerance to 4 is not sufficient:
4: d3d10core.c:19081: Test failed: Got unexpected colour 0xff00003b at (2, 240, 9), expected 0xff000040. 5: d3d10core.c:19081: Test failed: Got unexpected colour 0xff000048 at (2, 32, 12), expected 0xff00004e. 6: d3d10core.c:19081: Test failed: Got unexpected colour 0xff000057 at (2, 160, 14), expected 0xff00005e.
With a tolerance of 7 there is no failure anymore, at least on Windows 10 1507 with the 391.35 driver. So if rounding that to 8 is acceptable then the attached patch could fix this issue in both cases.