<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&nbsp;: <b>Ven 10.7.09, Joerg-Cyril.Hoehle@t-systems.com <i>&lt;Joerg-Cyril.Hoehle@t-systems.com&gt;</i></b> a écrit&nbsp;:<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 &lt;Joerg-Cyril.Hoehle@t-systems.com&gt;<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>&nbsp;&nbsp;&nbsp; || 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>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;D3DFMT_X8R8G8B8, D3DPOOL_MANAGED, &amp;texture, 0);<br>&nbsp; &nbsp;&nbsp;&nbsp;ok(hr == D3D_OK, "IDirect3DDevice9_CreateTexture failed(%08x)\n", hr);<br> <br>+&nbsp; &nbsp; if (texture) {<br>+&nbsp; &nbsp; &nbsp; &nbsp; D3DTEXTUREFILTERTYPE fltt;<br>+&nbsp; &nbsp; &nbsp; &nbsp; fltt = IDirect3DTexture9_GetAutoGenFilterType(texture);<br>+&nbsp; &nbsp; &nbsp; &nbsp; ok(D3DTEXF_LINEAR == fltt, "GetAutoGenFilterType returned default %d\n", fltt);<br>+&nbsp; &nbsp; &nbsp; &nbsp; hr = IDirect3DTexture9_SetAutoGenFilterType(texture, D3DTEXF_NONE);<br>+&nbsp; &nbsp; &nbsp; &nbsp; ok(hr == D3DERR_INVALIDCALL, "SetAutoGenFilterType D3DTEXF_NONE returned %08x\n", hr);<br>+&nbsp; &nbsp; &nbsp; &nbsp; hr = IDirect3DTexture9_SetAutoGenFilterType(texture, D3DTEXF_ANISOTROPIC);<br>+&nbsp; &nbsp; &nbsp; &nbsp; ok(hr == D3D_OK, "SetAutoGenFilterType D3DTEXF_ANISOTROPIC returned %08x\n",
 hr);<br>+&nbsp; &nbsp; &nbsp; &nbsp; fltt = IDirect3DTexture9_GetAutoGenFilterType(texture);<br>+&nbsp; &nbsp; &nbsp; &nbsp; ok(D3DTEXF_ANISOTROPIC == fltt /*|| broken(D3DTEXF_POINT == fltt)*/,<br>+&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;"GetAutoGenFilterType returned %d\n", fltt);<br>+&nbsp; &nbsp; &nbsp; &nbsp; hr = IDirect3DTexture9_SetAutoGenFilterType(texture, D3DTEXF_LINEAR);<br>+&nbsp; &nbsp; &nbsp; &nbsp; ok(hr == D3D_OK, "SetAutoGenFilterType D3DTEXF_LINEAR returned %08x\n", hr);<br>+&nbsp; &nbsp; &nbsp; &nbsp; /* IDirect3DTexture9_GenerateMipSubLevels ? */<br>+&nbsp; &nbsp; }<br>&nbsp; &nbsp;&nbsp;&nbsp;levels = IDirect3DTexture9_GetLevelCount(texture);<br>&nbsp; &nbsp;&nbsp;&nbsp;ok(levels == 1, "Got %d levels, expected 1\n", levels);<br> <br>Thanks for your help,<br>&nbsp;&nbsp;&nbsp; Jörg Höhle<br><br><br></div></blockquote></td></tr></table><br>