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

           Summary: GL_ARB_fragment_program implement incorrect about
                    fragment.position
           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]


When call glProgramStringARB with below program string:
"!!ARBfp1.0\nOUTPUT outcolor = result.color;\nATTRIB attrib_fragpos =
fragment.position;\nTEMP temp_fpos;\nMUL temp_fpos, attrib_fragpos, {0.2, 0.1,
0.4, 0.7};\nMOV outcolor, temp_fpos;\nEND"
The dest pixel color should be changed according to pixel position. But the
dest pixel color is incorrect and do not change. Please see attached test case.


-- 
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