[Piglit] [PATCH 1/8] layered-rendering/blit: use color other than the default red
Kenneth Graunke
kenneth at whitecape.org
Sun Jan 26 23:29:45 PST 2014
On 01/26/2014 01:34 AM, Topi Pohjolainen wrote:
> Passes on nvidia and on IVB using blt-engine and mesa fallback
> path but fails on IVB using blorp (both before and after the
> recent refactoring):
>
> Probe color at (32,0)
> Expected: 0.500000 0.400000 0.300000
> Observed: 0.250980 0.160784 0.090196
> Probe color at (96,0)
> Expected: 0.500000 0.400000 0.300000
> Observed: 0.250980 0.160784 0.090196
> Probe color at (32,64)
> Expected: 0.500000 0.400000 0.300000
> Observed: 0.250980 0.160784 0.090196
> Probe color at (96,64)
> Expected: 0.500000 0.400000 0.300000
> Observed: 0.250980 0.160784 0.090196
This looks a lot like botched SRGB handling. I saw BlitFramebuffers
with a source format of XRGB8888 and a destination format of SRGB8.
Commenting out the A -> 1.0 override in gen6_blorp_emit_blend_state
makes the test pass, so something's probably broken around there...
Good luck!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20140126/71e27a8e/attachment.pgp>
More information about the Piglit
mailing list