mesa/swrast: fix inverted front buffer rendering with old-school swrast
authorDave Airlie <airlied@redhat.com>
Wed, 13 Nov 2013 02:53:52 +0000 (12:53 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 21 Nov 2013 00:50:17 +0000 (10:50 +1000)
commita43b49dfb13dc7e6d2d6d7ceee892077038d7102
tree2de73bb28e8e94c824a2255a39450a115ca48263
parent81ff29e30c573fcc134bf717670015ab4654ebcd
mesa/swrast: fix inverted front buffer rendering with old-school swrast

I've no idea when this broke, but we have some people who wanted it fixed,
so here's my attempt.

reproducer, run readpix with swrast hit f, or run trival tri -sb things are
upside down, after this patch they aren't.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=62142
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=66213

Cc: <mesa-stable@lists.freedesktop.org>"
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/drivers/dri/swrast/swrast.c