[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
Wed May 18 20:00:05 UTC 2016


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

--- Comment #10 from dnord <pinguin255 at gmail.com> ---
(In reply to Matt Turner from comment #8)
> Sorry, I had to revert this. It broke various piglit tests.
> 
> The problem is that total_wants and remaining_space are updated between each
> calculation, making the transformation your patch made incorrect.
I know they are updated, but I don't understand why it's incorrect. I mean look
at this:
>remaining_space -= vs_additional;
>total_wants -= vs_wants;
Because vs_additional/vs_wants = remaining_space/total_wants,
remaining_space/total_wants should remain the same after update and code should
be equivalent, up to rounding errors. Maybe it's just rounding up error and
after replace "round" with "floor" it will work? (can you test this?) Anyway I
try to look at this more closely.

-- 
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/20160518/bd3fa174/attachment.html>


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