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

           Summary: Fix left side clipping in swrast
           Product: Mesa
           Version: git
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/X11
        AssignedTo: mesa3d-dev@lists.sourceforge.net
        ReportedBy: m.froehl...@science-computing.de


Created an attachment (id=33382)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=33382)
test program

The swrast module does incorrect clipping of scan lines when they need to be
clipped from the left side.

Attached is a small test program which shows one part of the problem, that is
the color attribute not being correctly clipped.
But other attributes are not correctly clipped as well.
For example the fixed function texture 0 coordinate which was the original
problem in a huger application.

Also attached is a patch originally against Mesa-7.5.2, but still valid for all
versions in between up to mesa git of today.
This patch fixes all those problems that I could reproduce in our application
as well as the attached example.
The patch just includes a 'monkey see - monkey do' change to correct all arrays
in and attributes a SWspan by the leftClip amount of pixels.

Please apply or fix in a different way.

Thanks!

Mathias


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

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs 
proactively, and fine-tune applications for parallel performance. 
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to