http://bugs.winehq.org/show_bug.cgi?id=20922
Summary: Wine generates invalid ARB vertex programs Product: Wine Version: 1.1.34 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: m.cencora@gmail.com
Created an attachment (id=25082) --> (http://bugs.winehq.org/attachment.cgi?id=25082) Assassin's Creed game output, the bad program starts at line 979
When emulating sin/cos instructions in vertex programs, lines like these are created: MUL TA.x, R0.x, C4.w.w; MAD TA.x, TA.y, C4.w.x, TA.x;
The problem is the double swizzle (i.e. C4.w.w C4.w.x).