<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">In a Vista box (real, not virtual)<br>Nvidia Geforce 7600 go<br><br>275 tests executed (0 marked as todo, 0 failures), 0 skipped.<br><br>David<br><br><br>--- En date de : <b>Ven 10.7.09, Joerg-Cyril.Hoehle@t-systems.com <i><Joerg-Cyril.Hoehle@t-systems.com></i></b> a écrit :<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>De: Joerg-Cyril.Hoehle@t-systems.com <Joerg-Cyril.Hoehle@t-systems.com><br>Objet: win users please test DirectX9_AutoGenFilterType patch<br>À: wine-devel@winehq.org<br>Date: Vendredi 10 Juillet 2009, 14h05<br><br><div class="plainMail">Dear users of MS-Windows with access to a compiler,<br><br>please compile the following addition to the Wine testsuite and report results of running<br>on MS-Windows to me by e-mail (preferred) or to this list. The goal is to get
rid of bug<br><a href="http://bugs.winehq.org/show_bug.cgi?id=11167" target="_blank">http://bugs.winehq.org/show_bug.cgi?id=11167</a><br><br>For that I need test data from MS-Windows systems. Maybe some more<br> || broken(D3DTEXF_POINT == fltt)<br>are needed for the tests to pass on some MS-Windows systems/gfx-drivers with limited filter types.<br><br>Once proper MS-Windows behaviour is known, the patch to Wine will follow.<br>Currently Wine fails the test below.<br><br><a href="http://msdn.microsoft.com/en-us/library/bb174327" target="_blank">http://msdn.microsoft.com/en-us/library/bb174327</a>(VS.85).aspx<br><br>diff --git a/dlls/d3d9/tests/texture.c b/dlls/d3d9/tests/texture.c<br>index 4d433b1..29864a8 100644<br>--- a/dlls/d3d9/tests/texture.c<br>+++ b/dlls/d3d9/tests/texture.c<br>@@ -197,6 +197,21 @@ static void test_mipmap_gen(IDirect3DDevice9 *device)<br>
D3DFMT_X8R8G8B8, D3DPOOL_MANAGED, &texture, 0);<br> ok(hr == D3D_OK, "IDirect3DDevice9_CreateTexture failed(%08x)\n", hr);<br> <br>+ if (texture) {<br>+ D3DTEXTUREFILTERTYPE fltt;<br>+ fltt = IDirect3DTexture9_GetAutoGenFilterType(texture);<br>+ ok(D3DTEXF_LINEAR == fltt, "GetAutoGenFilterType returned default %d\n", fltt);<br>+ hr = IDirect3DTexture9_SetAutoGenFilterType(texture, D3DTEXF_NONE);<br>+ ok(hr == D3DERR_INVALIDCALL, "SetAutoGenFilterType D3DTEXF_NONE returned %08x\n", hr);<br>+ hr = IDirect3DTexture9_SetAutoGenFilterType(texture, D3DTEXF_ANISOTROPIC);<br>+ ok(hr == D3D_OK, "SetAutoGenFilterType D3DTEXF_ANISOTROPIC returned %08x\n",
hr);<br>+ fltt = IDirect3DTexture9_GetAutoGenFilterType(texture);<br>+ ok(D3DTEXF_ANISOTROPIC == fltt /*|| broken(D3DTEXF_POINT == fltt)*/,<br>+ "GetAutoGenFilterType returned %d\n", fltt);<br>+ hr = IDirect3DTexture9_SetAutoGenFilterType(texture, D3DTEXF_LINEAR);<br>+ ok(hr == D3D_OK, "SetAutoGenFilterType D3DTEXF_LINEAR returned %08x\n", hr);<br>+ /* IDirect3DTexture9_GenerateMipSubLevels ? */<br>+ }<br> levels = IDirect3DTexture9_GetLevelCount(texture);<br> ok(levels == 1, "Got %d levels, expected 1\n", levels);<br> <br>Thanks for your help,<br> Jörg Höhle<br><br><br></div></blockquote></td></tr></table><br>