[Bug 27901] GLSL cos/sin functions broken on Mesa R600 driver

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu May 20 12:46:04 PDT 2010


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

--- Comment #7 from Conn Clark <conn.o.clark at gmail.com> 2010-05-20 12:46:03 PDT ---
Alain,

The patch I just posted fixes the problem on my machine completely. The problem
with the previous version of the patch (other than the source mistake you found
;) )has something to do me coding in the 0.5 special constant. Replacing it
with a literal 0.5 constant works.

I also extended the definition of PI 3 places to avoid drift of the values when
it gets an input significantly greater or less than PI and -PI.


Let me know how it works for you.


Thanks.

Conn

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the dri-devel mailing list