On 11/5/06, Keith Whitwell <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > CVSROOT: /cvs/mesa > > Module name: Mesa > > Repository: Mesa/src/mesa/drivers/dri/r300/ > > Changes by: [EMAIL PROTECTED] 06/11/05 00:47:27 > > > > Log message: > > Add sin instruction to fragment program. > > > > There is a bug somewhere in fragment program. > > tri-cos and tri-sin show the bug. Also we > > should not emit multiple time the same constant. > > for sin,cos,lit have to fix that. > > If you've taken the taylor series expansion from the i915 driver, then > the bug is simply that there are too few terms in the series to give a > good approximation of sin(x) over the whole 2pi range. > > It might be worth looking at either adding terms or reducing the range > of the function that needs to be approximated. > > Keith
The bug came from somethings else, but i haven't looked to deeply on the precision of this serie. FGLRX seems to use another serie maybe which give a better precision will try this. best, Jerome Glisse ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Mesa3d-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
