[Mesa-dev] [Bug 48052] New: [softpipe] depth-cube-map fails

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Mar 29 09:02:40 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=48052

             Bug #: 48052
           Summary: [softpipe] depth-cube-map fails
    Classification: Unclassified
           Product: Mesa
           Version: git
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Other
        AssignedTo: mesa-dev at lists.freedesktop.org
        ReportedBy: morgan.devel at gmail.com


I took some time to look after this bug. The problem seems to come from the
sample_cube function in sp_tex_sample.c, when the face of the cube map is
determined using the four pixel's texcoords average.

At the edges of the current rasterized primitive, some pixels may not be part
of the primitive (ie. masked), leading to an incorrect average and therefore an
incorrect face selection.

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


More information about the mesa-dev mailing list