http://bugs.winehq.org/show_bug.cgi?id=12357
Summary: Wine 0.9.59 & 3Dmark Patch Error Product: Wine Version: CVS/GIT Platform: PC URL: http://bellegueulle.damien.neuf.fr OS/Version: Linux Status: UNCONFIRMED Severity: blocker Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: bellegueulle.damien@neuf.fr
Error in patch 3dmark.diff for Wine 0.9.59 and Wine CVS :
patching file dlls/wined3d/directx.c Hunk #1 succeeded at 839 (offset 95 lines). Hunk #2 FAILED at 2244. Hunk #3 FAILED at 2571. Hunk #4 FAILED at 2657.
*************** *** 2243,2249 **** WINED3DPMISCCAPS_CLIPTLVERTS | WINED3DPMISCCAPS_CLIPPLANESCALEDPOINTS | WINED3DPMISCCAPS_MASKZ | - WINED3DPMISCCAPS_BLENDOP; /* TODO: WINED3DPMISCCAPS_NULLREFERENCE
WINED3DPMISCCAPS_INDEPENDENTWRITEMASKS --- 2244,2255 ---- WINED3DPMISCCAPS_CLIPTLVERTS | WINED3DPMISCCAPS_CLIPPLANESCALEDPOINTS | WINED3DPMISCCAPS_MASKZ | + // WINED3DPMISCCAPS_BLENDOP; + WINED3DPMISCCAPS_TSSARGTEMP | + WINED3DPMISCCAPS_FOGANDSPECULARALPHA | + WINED3DPMISCCAPS_SEPARATEALPHABLEND | + WINED3DPMISCCAPS_BLENDOP | + WINED3DPMISCCAPS_FOGVERTEXCLAMPED; /* TODO: WINED3DPMISCCAPS_NULLREFERENCE
WINED3DPMISCCAPS_INDEPENDENTWRITEMASKS *************** *** 2565,2571 **** *pCaps->MaxVertexBlendMatrixIndex = 0;
*pCaps->MaxAnisotropy = GL_LIMITS(anisotropy); - *pCaps->MaxPointSize = GL_LIMITS(pointsize);
*pCaps->VertexProcessingCaps = WINED3DVTXPCAPS_DIRECTIONALLIGHTS | --- 2571,2578 ---- *pCaps->MaxVertexBlendMatrixIndex = 0;
*pCaps->MaxAnisotropy = GL_LIMITS(anisotropy); + // *pCaps->MaxPointSize = GL_LIMITS(pointsize); + *pCaps->MaxPointSize = 64.0f;
*pCaps->VertexProcessingCaps = WINED3DVTXPCAPS_DIRECTIONALLIGHTS | *************** *** 2650,2656 **** ------------------------------------------------ */ if (This->dxVersion > 8) { /* d3d9.dll sets D3DDEVCAPS2_CAN_STRETCHRECT_FROM_TEXTURES here because StretchRects is implemented in d3d9 */ - *pCaps->DevCaps2 = WINED3DDEVCAPS2_STREAMOFFSET; /* TODO: VS3.0 needs at least D3DDEVCAPS2_VERTEXELEMENTSCANSHARESTREAMOFFSET */ *pCaps->MaxNpatchTessellationLevel = 0; *pCaps->MasterAdapterOrdinal = 0; --- 2657,2667 ---- ------------------------------------------------ */ if (This->dxVersion > 8) { /* d3d9.dll sets D3DDEVCAPS2_CAN_STRETCHRECT_FROM_TEXTURES here because StretchRects is implemented in d3d9 */ + // *pCaps->DevCaps2 = WINED3DDEVCAPS2_STREAMOFFSET; + *pCaps->DevCaps2 = WINED3DDEVCAPS2_STREAMOFFSET | + WINED3DDEVCAPS2_CAN_STRETCHRECT_FROM_TEXTURES | + WINED3DDEVCAPS2_PRESAMPLEDDMAPNPATCH | + WINED3DDEVCAPS2_VERTEXELEMENTSCANSHARESTREAMOFFSET; /* TODO: VS3.0 needs at least D3DDEVCAPS2_VERTEXELEMENTSCANSHARESTREAMOFFSET */ *pCaps->MaxNpatchTessellationLevel = 0; *pCaps->MasterAdapterOrdinal = 0;
http://bugs.winehq.org/show_bug.cgi?id=12357
Bellegueulle Damien bellegueulle.damien@neuf.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bellegueulle.damien@neuf.fr
--- Comment #1 from Bellegueulle Damien bellegueulle.damien@neuf.fr 2008-04-04 12:58:37 --- hello :)
http://bugs.winehq.org/show_bug.cgi?id=12357
Bellegueulle Damien bellegueulle.damien@neuf.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|blocker |normal
http://bugs.winehq.org/show_bug.cgi?id=12357
Roderick Colenbrander thunderbird2k@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #2 from Roderick Colenbrander thunderbird2k@gmx.net 2008-04-04 16:05:34 --- This is not a bug at all. If you want such hacks port them over.
http://bugs.winehq.org/show_bug.cgi?id=12357
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Dmitry Timoshkov dmitry@codeweavers.com 2008-04-05 03:01:43 --- Closing invalid.
http://bugs.winehq.org/show_bug.cgi?id=12357
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified