[Bug 95419] [HSW][regression][bisect] RPG Maker game gives "invalid floating point operation" at startup

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jun 23 17:13:24 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=95419

Matt Turner <mattst88 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #19 from Matt Turner <mattst88 at gmail.com> ---
(In reply to dnord from comment #14)
> Created attachment 123926 [details] [review]
> patch3
> 
> Unfortunately I had not been able to reproduce any broken piglet tests,
> which were mentioned, introduced by this patch (obviously I tested only on
> my hardware, but piglet results were equal). Anyway I propose two patches,
> which solve this bug. First is not using any floating point arithmetic, just
> integer division, which is equal to rounding down and therefore should not
> allocate more chunks than available. Second is straightforward obvious fix
> to the original code - checking for null before two divisions.

Thank you. I've tested and committed this version of the patch.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20160623/4201b870/attachment.html>


More information about the intel-3d-bugs mailing list