http://bugs.freedesktop.org/show_bug.cgi?id=10788
Summary: GL_ARB_fragment_program implement incorrect about state
of fragment.fogcoord
Product: Mesa
Version: CVS
Platform: Other
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Mesa core
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
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 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