[PATCH 1/3] d3d11: Add support for setting multiple scissor rectangles.

Henri Verbeet hverbeet at gmail.com
Wed Apr 25 08:42:29 CDT 2018


On 24 April 2018 at 08:26, Nikolay Sivov <nsivov at codeweavers.com> wrote:
> +    /* Set scissor count to zero. */
> +    ID3D11DeviceContext_ClearRenderTargetView(context, rtv, clear_color);
> +    ID3D11DeviceContext_RSSetScissorRects(context, 0, rects);
> +    constant.draw_id = 5;
> +    ID3D11DeviceContext_UpdateSubresource(context, (ID3D11Resource *)cb, 0, NULL, &constant, 0, 0);
> +    draw_quad(&test_context);
> +    SetRect(&rect, 0, 0, texture_desc.Width - 1, texture_desc.Height - 1);
> +    check_texture_sub_resource_vec4(texture, 0, &rect, &expected_values[8], 1);
This fails for me on Windows:

    d3d11.c:1137: Adapter: L"AMD Radeon HD 6310 Graphics", 1002:9802.
    d3d11.c:1560: Feature level 0xb000.
    d3d11.c:8135: Tests skipped: Some AMD drivers have a bug affecting the test.
    d3d11.c:15444: Compute shader support via SM4 0x1.
    d3d11.c:16843: Optional format 0x59 - display supported, feature
level 0xa100.
    d3d11.c:16843: Optional format 0x59 - display supported, feature
level 0xa000.
    d3d11.c:20243: Tests skipped: Feature level 11_0 required for
unaligned UAV test.
    d3d11.c:20243: Tests skipped: Feature level 11_0 required for
unaligned UAV test.
    d3d11.c:26267: Test failed: Got {0.00000000e+000, 5.00000000e+000,
0.00000000e+000, 0.00000000e+000}, expected {5.00000000e-001,
5.00000000e-001, 0.00000000e+000, 0.00000000e+000} at (0, 0),
sub-resource 0.
    0770:d3d11: 9358825 tests executed (0 marked as todo, 1 failure), 3 skipped.



More information about the wine-devel mailing list