[Mesa-dev] [Bug 29487] New: software offscreen renderer problem with fix

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Aug 10 08:28:38 PDT 2010


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

           Summary: software offscreen renderer problem with fix
           Product: Mesa
           Version: git
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Mesa core
        AssignedTo: mesa-dev at lists.freedesktop.org
        ReportedBy: M.Froehlich at science-computing.de


Hi,

I have observed and found a problem with the software renderer.
The problem happens only when we use float valued 32 bit osmesa contexts.
When we have float valued render buffers the convert_color_type function in
s_span.c is not called and the
  span->array->rgba
is not set to the place in the span that would be otherwise set by the
convert_color_type function.

The attached patch sets the rgba pointer to the value that matches the
semantics of the convert_color_type function but the unneeded conversion is
omitted.

The test case is in this case very deep in an application that does shader
programs with OSMesa. I was not able to construct a simple testcase that
illustrates the problem.

The patch is originally against Mesa 7.7, but still applies against todays git.

Please apply or fix appropriately

Thanks

Mathias

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