test_instanced_draw() fails systematically on cw-rx460:
https://test.winehq.org/data/patterns.html#d3d10core:d3d10core
d3d10core.c:9275: Test failed: Got 0xfff0f010, expected 0xff80f010 at (160, 0), sub-resource 0. d3d10core.c:9275: Test failed: Got 0xfff0f040, expected 0xff80f040 at (240, 0), sub-resource 0. d3d10core.c:9275: Test failed: Got 0xffaaaacc, expected 0xffbbaacc at (480, 0), sub-resource 0. d3d10core.c:9275: Test failed: Got 0xffaaaa90, expected 0xffbbaa90 at (560, 0), sub-resource 0.
It turns out that this happens when running test_il_append_aligned() and test_instanced_draw() in parallel. So would it be acceptable to run test_instanced_draw() after the other tests as in the patch below or should this be investigated some more?
https://bugs.winehq.org//attachment.cgi?id=70210
On Sat, 3 Jul 2021 at 11:24, Francois Gouget fgouget@codeweavers.com wrote:
From bug https://bugs.winehq.org//show_bug.cgi?id=51181
test_instanced_draw() fails systematically on cw-rx460:
https://test.winehq.org/data/patterns.html#d3d10core:d3d10core
d3d10core.c:9275: Test failed: Got 0xfff0f010, expected 0xff80f010 at (160, 0), sub-resource 0. d3d10core.c:9275: Test failed: Got 0xfff0f040, expected 0xff80f040 at (240, 0), sub-resource 0. d3d10core.c:9275: Test failed: Got 0xffaaaacc, expected 0xffbbaacc at (480, 0), sub-resource 0. d3d10core.c:9275: Test failed: Got 0xffaaaa90, expected 0xffbbaa90 at (560, 0), sub-resource 0.
It turns out that this happens when running test_il_append_aligned() and test_instanced_draw() in parallel. So would it be acceptable to run test_instanced_draw() after the other tests as in the patch below or should this be investigated some more?
That seems fine as a solution. It may still be interesting to figure out whether test_il_append_aligned() or test_instanced_draw() is to blame here though. (E.g., if you queue multiple instances of either test_il_append_aligned() or test_instanced_draw() does that also introduce failures? Is there any particular part of test_il_append_aligned() that introduces failures in test_instanced_draw()?)