Re: [PATCH 3/9] d3d11/tests: Port test_texture() from d3d10core.
9 Nov
2015
9 Nov
'15
6:10 a.m.
On 6 November 2015 at 18:38, Józef Kucia <jkucia(a)codeweavers.com> wrote:
+ for (i = 0; i < 4; ++i) + { + for (j = 0; j < 4; ++j) + { + color = get_texture_color(backbuffer, 80 + j * 160, 60 + i * 120); + ok(compare_color(color, bitmap_data[j + i * 4], 1), + "Got unexpected color 0x%08x at (%u, %u), expected 0x%08x.\n", + color, j, i, bitmap_data[j + i * 4]); + } + } It's not a terribly high priority, but Matteo recently introduced get_rt_readback()/release_surface_readback() in the d3d8/9 tests. We'll want to introduce that interface in the d3d10/11 tests as well.
3777
Age (days ago)
3777
Last active (days ago)
0 comments
1 participants
participants (1)
-
Henri Verbeet