1/4 wined3d: pass surface to blit_shader->set_shader

Alexandre Julliard julliard at winehq.org
Tue Mar 23 07:13:10 CDT 2010


Roderick Colenbrander <thunderbird2k at gmail.com> writes:

> In a future patch I will move 8-bit palette handling to the shader and
> for that I need to retrieve the palette from the surface. This patch
> prepares for that and it simplifies the interface to the shader.

It doesn't work here:

../../../tools/runtest -q -P wine -M d3d9.dll -T ../../.. -p d3d9_test.exe.so visual.c && touch visual.ok
visual.c:7725: Tests skipped: Card has unconditional pow2 support, skipping conditional NP2 tests
visual.c:9843: Test failed: Input 0x00000000: Got color 0x00000000 for pixel 1/1, expected 0x00008700, format D3DFMT_UYVY
visual.c:9847: Test failed: Input 0x00000000: Got color 0x00000000 for pixel 2/1, expected 0x00008700, format D3DFMT_UYVY
visual.c:9843: Test failed: Input 0xff000000: Got color 0x00000000 for pixel 1/1, expected 0x00008700, format D3DFMT_UYVY
visual.c:9847: Test failed: Input 0xff000000: Got color 0x00000000 for pixel 2/1, expected 0x004bff1c, format D3DFMT_UYVY
visual.c:9843: Test failed: Input 0x00ff0000: Got color 0x00000000 for pixel 1/1, expected 0x00b30000, format D3DFMT_UYVY
visual.c:9847: Test failed: Input 0x00ff0000: Got color 0x00ffffff for pixel 2/1, expected 0x00b30000, format D3DFMT_UYVY
visual.c:9843: Test failed: Input 0x0000ff00: Got color 0x00000000 for pixel 1/1, expected 0x004bff1c, format D3DFMT_UYVY
etc.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list