| Summary: | [swrast] implementation error: unexpected format 0x8227 in _swrast_ReadPixels | ||
|---|---|---|---|
| Product: | Mesa | Reporter: | Vinson Lee <vlee> |
| Component: | Mesa core | Assignee: | mesa-dev |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | medium | ||
| Version: | git | ||
| Hardware: | All | ||
| OS: | Linux (All) | ||
| Whiteboard: | |||
| i915 platform: | i915 features: | ||
Fixed with Mesa commit 5fc2548faea31acdd08bbb0f016ea41c6f01cf41 mesa: 859106f196ade77f59f8787b071739901cd1a843 (master) Verified fixed. piglit texture-rg passes on swrast. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
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 */