[PATCH 3/9] d3d11/tests: Port test_texture() from d3d10core.

Henri Verbeet hverbeet at gmail.com
Mon Nov 9 06:10:45 CST 2015


On 6 November 2015 at 18:38, Józef Kucia <jkucia at 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.



More information about the wine-devel mailing list