[Bug 34266] 0*inf in D3D9 shaders outputs NaNs to floating-point framebuffers

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Aug 27 23:27:50 CDT 2013


http://bugs.winehq.org/show_bug.cgi?id=34266

Andrew Church <achurch+wine at achurch.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #45619|0                           |1
        is obsolete|                            |

--- Comment #8 from Andrew Church <achurch+wine at achurch.org> 2013-08-27 23:27:50 CDT ---
Created attachment 45756
  --> http://bugs.winehq.org/attachment.cgi?id=45756
Proof-of-concept patch v2

In case anyone wants to apply it locally, here's an updated version that also
catches log2(0.0) and inversesqrt(0.0), and also works for vector operands. 
With this version, I haven't seen any glitches in >10h of FF14 gameplay. 
Interestingly, I didn't see any significant difference in benchmark performance
from 3-run averages with and without the patch (in fact, the average score was
slightly better with the patch applied, though I suspect that's just random
variation).

-- 
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.



More information about the wine-bugs mailing list