[Bug 20922] New: Wine generates invalid ARB vertex programs
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(a)winehq.org ReportedBy: m.cencora(a)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). -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20922 Stefan Dösinger <stefandoesinger(a)gmx.at> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |stefandoesinger(a)gmx.at --- Comment #1 from Stefan Dösinger <stefandoesinger(a)gmx.at> 2009-12-06 05:46:02 --- Hi, Can you run the program with WINEDEBUG=d3d_shader ? I suspect that the input shader is already incorrect. src1 and src2 - where the double swizzle occurs - are supposed to be 4 component constant registers. The double swizzle occurs because the app sets a swizzle on src1 and src2(2nd and third param) and the shader_addline code simply concatenates ".w" without looking at the input swizzle. The question is if it should. C4.w is a single scalar, it can't possibly work with what the helper constants are supposed to do. I'll have to write a test case to figure out how Wine is supposed to behave here. I suspect we should reject the shader and return an error when the app tries to create it. Its also possible that we should simply ignore the swizzle and treat "C4.w" as "C4" in this specific instruction. Or, maybe we should honor the swizzle and return incorrect results because the taylor coefficients aren't correct. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20922 --- Comment #2 from Maciej Cencora <m.cencora(a)gmail.com> 2009-12-06 07:41:39 --- Created an attachment (id=25090) --> (http://bugs.winehq.org/attachment.cgi?id=25090) Compressed log Grep for "Failing program" when looking for relevant info. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20922 --- Comment #3 from Austin English <austinenglish(a)gmail.com> 2011-10-02 11:45:34 CDT --- This is your friendly reminder that there has been no bug activity for 1 year. Is this still an issue in current (1.3.29 or newer) wine? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20922 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |ABANDONED --- Comment #4 from Austin English <austinenglish(a)gmail.com> 2013-11-13 15:38:34 CST --- No reply in over a year, and no download. Resolving abandoned, if anyone is still able to reproduce this in the current development version (currently 1.7.6) feel free to reopen. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20922 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #5 from Austin English <austinenglish(a)gmail.com> 2013-11-13 15:40:25 CST --- Closing. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org