http://bugs.winehq.org/show_bug.cgi?id=14968
Summary: DrawPrim.c needs to handle more than 4 vertex shader prims causes crash Product: Wine Version: 1.1.3 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: celticht32@aol.com CC: celticht32@aol.com
Draw Prim needs to handle this in drawStridedSlow :
The vertex shader definition in direct x calls for 16 vertex shader types
currently several game applications call for vertex shader 7 initialization and wine fails with :
fixme:d3d_draw:drawStridedSlow Should not get here as coordsToUse is two bits only (7)!
which is a valid mode :
which should map to the 4s gl call in opengl
here is the Direct X definition for mode 7
D3DDECLTYPE_SHORT4 Four-component, signed short expanded to (value, value, value, value).
The link for the definition is :
http://msdn.microsoft.com/en-us/library/bb172533(VS.85).aspx