[PATCH 4/5] wined3d: Fix specular lighting calculation.

Alexandre Julliard julliard at winehq.org
Mon Apr 10 15:08:41 CDT 2017


Matteo Bruni <mbruni at codeweavers.com> writes:

> Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
> ---
> For bug 41827.
>
> I don't really like the shader_glsl_ffp_vertex_lighting_footer name but I
> couldn't think of anything nicer...
>
>  dlls/d3d8/tests/visual.c   | 59 +++++++++++++++++++++++++++++++++-------------
>  dlls/d3d9/tests/visual.c   | 59 +++++++++++++++++++++++++++++++++-------------
>  dlls/ddraw/tests/ddraw2.c  | 49 +++++++++++++++++++++++++++++---------
>  dlls/ddraw/tests/ddraw4.c  | 51 +++++++++++++++++++++++++++++----------
>  dlls/ddraw/tests/ddraw7.c  | 59 +++++++++++++++++++++++++++++++++-------------
>  dlls/wined3d/glsl_shader.c | 50 +++++++++++++++------------------------
>  6 files changed, 225 insertions(+), 102 deletions(-)

The tests fail here:

../../../tools/runtest -q -P wine -T ../../.. -M d3d8.dll -p d3d8_test.exe.so visual && touch visual.ok
visual.c:793: Test failed: Expected color 0x00000000 at location (160, 120), got 0x00ffffff, case 7.
visual.c:793: Test failed: Expected color 0x00000000 at location (320, 120), got 0x00ffffff, case 7.
visual.c:793: Test failed: Expected color 0x00000000 at location (480, 120), got 0x00ffffff, case 7.
visual.c:793: Test failed: Expected color 0x00000000 at location (160, 240), got 0x00ffffff, case 7.
visual.c:793: Test failed: Expected color 0x00000000 at location (320, 240), got 0x00ffffff, case 7.
visual.c:793: Test failed: Expected color 0x00000000 at location (480, 240), got 0x00ffffff, case 7.
visual.c:793: Test failed: Expected color 0x00000000 at location (160, 360), got 0x00ffffff, case 7.
visual.c:793: Test failed: Expected color 0x00000000 at location (320, 360), got 0x00ffffff, case 7.
visual.c:793: Test failed: Expected color 0x00000000 at location (480, 360), got 0x00ffffff, case 7.
visual.c:2790: Tests skipped: D3DFMT_P8 textures not supported.
visual.c:4294: Tests skipped: No RESZ support, skipping RESZ test.
visual.c:4971: Tests skipped: Volume DXT5 textures are not supported, skipping test.
visual.c:6632: Tests skipped: Volume ATI2N textures are not supported, skipping some tests.
Makefile:246: recipe for target 'visual.ok' failed
make: *** [visual.ok] Error 9

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list