[Bug 91213] GLSL sine and cosine of argument larger than 4096*pi give wrong results

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Jul 5 15:32:21 PDT 2015


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

--- Comment #2 from Matt Turner <mattst88 at gmail.com> ---
(In reply to Ruslan Kabatsayev from comment #1)
> Tested in Windows on a similar HD Graphics 4600 device, and there the result
> is correct, as with software renderer on Linux. So seems it's not the chip
> which doesn't work correctly, but the driver/mesa.

We just use the sin/cos instructions directly. I believe the instructions lose
accuracy at large values, and that the Windows driver emits some instructions
to do range reduction itself.

Is this just a corner case you noticed, or something that you really want to
work?

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


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