st/mesa: only flip stipple pattern for winsys fbo's
authorIlia Mirkin <imirkin@alum.mit.edu>
Wed, 12 Oct 2016 18:01:34 +0000 (14:01 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Wed, 12 Oct 2016 21:04:16 +0000 (17:04 -0400)
commite6a693c447213b578f562edad8f15ccc43056acd
treeb5dd8a08d730d3224149cfd30d84d7a1bf7858d6
parenta4622305e67dbb3ed224fa966160616688e43ee8
st/mesa: only flip stipple pattern for winsys fbo's

Gallium is completely oblivious to whether the fbo is flipped or not.
Only flip the stipple pattern when the fbo is flipped as well. Otherwise
the driver has no idea when to unflip the pattern.

Fixes bin/gl-2.1-polygon-stipple-fs -fbo

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Brian Paul <brianp@vmware.com>
Tested-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_atom_stipple.c