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

           Summary: ARB_vertex_program's LG2 directive is imprecision
           Product: Mesa
           Version: CVS
          Platform: x86 (IA32)
        OS/Version: Linux (All)
            Status: NEW
          Severity: trivial
          Priority: lowest
         Component: Mesa core
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


The calculation of LG2 directive is imprecision. For example, 

PARAM LG2const =  { 1.300000, 1.500000, 1.700000, 9.900000 };
LG2 otex, LG2const.x;

Value of otex will be 0.37000.
The precision value should be log(1.3)/log(2)=0.3785.
It seems LG2 always reserve 2 number after decimal point.


-- 
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: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to