Skip to content
Snippets Groups Projects
Commit 90f74f1c authored by Dave Airlie's avatar Dave Airlie Committed by Emil Velikov
Browse files

mesa/readpixels: check strides are equal before skipping conversion


The CTS packed_pixels test checks that readpixels doesn't write
into the space between rows, however we fail that here unless
we check the format and stride match.

This fixes all the core mesa problems with CTS packed_pixels
tests.

Cc: "11.0" <mesa-stable@lists.freedesktop.org>
Reviewed-by: default avatarIago Toral Quiroga <itoral@igalia.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
(cherry picked from commit 32769ac0)
parent a4aa31b2
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment