Signed-off-by: Józef Kucia jkucia@codeweavers.com --- dlls/d3d10core/tests/d3d10core.c | 10 ++++++++++ 1 file changed, 10 insertions(+)
diff --git a/dlls/d3d10core/tests/d3d10core.c b/dlls/d3d10core/tests/d3d10core.c index 9aae32255bc8..9821054601bd 100644 --- a/dlls/d3d10core/tests/d3d10core.c +++ b/dlls/d3d10core/tests/d3d10core.c @@ -9612,6 +9612,16 @@ static void test_copy_subresource_region_1d(void) } release_resource_readback(&rb);
+ get_texture1d_readback(texture1d, 0, &rb); + for (i = 0; i < texture1d_desc.Width; ++i) + { + color = get_readback_color(&rb, i, 0); + ok(compare_color(color, bitmap_data[i], 1), + "Got color 0x%08x at %u, expected 0x%08x.\n", + color, i, bitmap_data[i]); + } + release_resource_readback(&rb); + ID3D10Texture1D_Release(texture1d); ID3D10Texture2D_Release(texture2d); release_test_context(&test_context);
Hi,
While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check?
Full results can be found at: https://testbot.winehq.org/JobDetails.pl?Key=44477
Your paranoid android.
=== wvistau64_zh_CN (32 bit Windows report) ===
d3d10core: d3d10core.c:4640: Test failed: Got unexpected IAVertices count: 0. d3d10core.c:4641: Test failed: Got unexpected IAPrimitives count: 0. d3d10core.c:4642: Test failed: Got unexpected VSInvocations count: 0. d3d10core.c:4645: Test failed: Got unexpected CInvocations count: 0. d3d10core.c:4646: Test failed: Got unexpected CPrimitives count: 0.
=== debian9 (32 bit Wine report) ===
d3d10core: Unhandled exception: page fault on read access to 0x00000002 in 32-bit code (0x7ed9f023).
=== debian9 (32 bit WoW Wine report) ===
d3d10core: Unhandled exception: page fault on read access to 0x6976656c in 32-bit code (0x7ed9f028).
=== debian9 (64 bit Wow Wine report) ===
d3d10core: d3d10core.c:4618: Test failed: Got unexpected hr 0x8876086a. d3d10core.c:12553: Test failed: Got {0xffffffff, 0x00000001, 0x00000000, 0x00000000}, expected {0x00000000, 0x00000001, 0x00000000, 0x00000000} at (0, 0), sub-resource 0.