[v2 PATCH] wined3d: Add support for setting multiple viewports

Henri Verbeet hverbeet at gmail.com
Fri Apr 13 13:05:09 CDT 2018


On 12 April 2018 at 18:27, Nikolay Sivov <nsivov at codeweavers.com> wrote:
> Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
> ---
>  dlls/d3d11/device.c               |  4 +-
>  dlls/d3d8/device.c                |  2 +-
>  dlls/d3d9/device.c                |  2 +-
>  dlls/ddraw/device.c               |  2 +-
>  dlls/wined3d/arb_program_shader.c |  2 +-
>  dlls/wined3d/cs.c                 | 35 +++++++++------
>  dlls/wined3d/device.c             | 50 ++++++++++++---------
>  dlls/wined3d/glsl_shader.c        | 44 ++++++++++++++-----
>  dlls/wined3d/state.c              | 92 +++++++++++++++++++++++++++++----------
>  dlls/wined3d/stateblock.c         | 12 +++--
>  dlls/wined3d/utils.c              | 17 ++++----
>  dlls/wined3d/wined3d.spec         |  2 +-
>  dlls/wined3d/wined3d_private.h    | 29 +++++++-----
>  include/wine/wined3d.h            |  5 ++-
>  14 files changed, 200 insertions(+), 98 deletions(-)
>
This introduces a failure in the ddraw tests for me:

    ../../../../../src/wine-git/tools/runtest -q -P wine -T ../../..
-M ddraw.dll -p ddraw_test.exe.so ddraw7 && touch ddraw7.ok
    ddraw7.c:1044: Test failed: Got unexpected color 0x00ff0000.
    ddraw7.c:9874: Tests skipped: Overlays or some YUV formats not
supported, skipping YUV colorfill tests.
    ddraw7.c:11763: Tests skipped: Failed to create surface for format
D3DFMT_A2R10G10B10 (hr 0x88760091), skipping tests.
    ddraw7.c:11763: Tests skipped: Failed to create surface for format
D3DFMT_A8B8G8R8 (hr 0x88760091), skipping tests.
    ddraw7.c:11763: Tests skipped: Failed to create surface for format
D3DFMT_X8B8G8R8 (hr 0x88760091), skipping tests.
    ddraw7.c:11763: Tests skipped: Failed to create surface for format
D3DFMT_A8L8 (hr 0x88760091), skipping tests.
    Makefile:401: recipe for target 'ddraw7.ok' failed



More information about the wine-devel mailing list