swrast: fix readback regression since inversion fix
authorDave Airlie <airlied@redhat.com>
Thu, 5 Dec 2013 03:30:17 +0000 (13:30 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 10 Dec 2013 03:33:40 +0000 (13:33 +1000)
commit0b16042377a6981ff9bba92387889524a3547b3f
tree4a485d5c9a7b86f1ad223fcf8eb634530b99451d
parent4859d492b25cba61f43bb883d878d6388be742be
swrast: fix readback regression since inversion fix

This readback from the frontbuffer with swrast was broken, that bug
just made it more obviously broken, this fixes it by inverting the
sub image gets. Also fixes a few other piglits.

Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=72327
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=72325

(for 9.2 the patches this depends on were asked to be backported separately
 in an email).
Cc: "9.2" "10.0" mesa-stable@lists.fedoraproject.org
Reviewed-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/drivers/dri/swrast/swrast.c