[Mesa-dev] [Bug 32088] New: [swrast] implementation error: unexpected format 0x8227 in _swrast_ReadPixels

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Dec 3 14:13:32 PST 2010


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

           Summary: [swrast] implementation error: unexpected format
                    0x8227 in _swrast_ReadPixels
           Product: Mesa
           Version: git
          Platform: All
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Mesa core
        AssignedTo: mesa-dev at lists.freedesktop.org
        ReportedBy: vlee at vmware.com


mesa: b7acf538af24ddab72a5cbd5975f089a747b68e4 (master)

Run piglit texture-rg test.

$ ./bin/texture-rg
Mesa 7.10-devel implementation error: unexpected format 0x8227 in
_swrast_ReadPixels
Please report at bugzilla.freedesktop.org
texture-rg: failure with format GL_R8:
  expected color = 0.5, 0, 0, 1
  result color = 0, 0, 0, 1


mesa/include/GL/glext.h
  1700  #define GL_RG                             0x8227


mesa/src/mesa/swrast/s_readpix.c
   456  void
   457  _swrast_ReadPixels( struct gl_context *ctx,
   458                      GLint x, GLint y, GLsizei width, GLsizei height,
   459                      GLenum format, GLenum type,
   460                      const struct gl_pixelstore_attrib *packing,
   461                      GLvoid *pixels )
   462  {
...
   516        default:
   517           _mesa_problem(ctx, "unexpected format 0x%x in
_swrast_ReadPixels", format);
   518           /* don't return yet, clean-up */

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