http://bugs.freedesktop.org/show_bug.cgi?id=10907

           Summary: GLSL built-in exp function not functioning correctly
           Product: Mesa
           Version: 6.5
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: medium
         Component: Mesa core
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


The GLSL exponential function does not generate the correct result.  Symptom -
shader working on NV does not perform same on OSMESA.  The following line:

float f = exp(-k*gl_FogFragCoord);

was replaced with:

float f = pow(2.718281828, -k*gl_FogFragCoord);

After making the replacement, the shader performed correctly again.

Test codes have verified this problem.


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

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to