On i965 platform, when call glDrawBuffers to draw GL_FRONT_LEFT and GL_BACK_LEFT, then read back the pixels, pixels in GL_FRONT_LEFT buffer is as expected, but pixels in GL_BACK_LEFT buffer is incorrect. On i915 platform, the bug does not exist. i965 driver has not implemented the glDrawBuffers feature(multi render target), so I think this is mesa xlib's bug.
Created attachment 13391 [details] test case On i965 platform, I got below result: draw buffers number: 2 error! i is: 1 expected: 0.800000 0.300000 0.700000 1.000000 actual: 0.800000 0.501961 0.200000 1.000000
software rendering bug.
Fixed in core Mesa. Haven't test i965. The problem was glDrawBuffers(2, [GL_FRONT_LEFT, GL_BACK_LEFT]) wasn't being interpreted correctly. The fragment color was only getting written to the first buffer.
Verified on i965 platform.
Mass version move, cvs -> git
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.