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

           Summary: GL_ARB_fragment_program implement incorrect about state
                    of fragment.fogcoord
           Product: Mesa
           Version: unspecified
          Platform: Other
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/DRI/i915
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [email protected]
        Depends on: 10788


The bug exists in mesa_7_0 branch now.

+++ This bug was initially created as a clone of Bug #10788 +++

In extension GL_ARB_fragment_program, the components value of fragment.fogcoord
are (f, 0, 0, 1), but Mesa assign the components value as (f, f, f, f).

For example:
Call glProgramStringARB with program string:
"!!ARBfp1.0\nATTRIB state_param = fragment.fogcoord;\nMOV result.color,
state_param;\n\nEND";
and set the fog coord as 0.6, then draw a quads, the pixel color should be
(0.6, 0, 0, 1) instead of (0.6, 0.6, 0.6, 0.6);


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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to