mesa: Additional FlipY applications
authorFritz Koenig <frkoenig@google.com>
Mon, 10 Sep 2018 19:11:16 +0000 (12:11 -0700)
committerKristian H. Kristensen <hoegsberg@chromium.org>
Mon, 17 Sep 2018 18:48:00 +0000 (11:48 -0700)
commitba6cc32cf9337804d744f234a196c97923c84360
tree3fce5b81d4151059b9ab6f1af67dc9f398539870
parentd17443a459383fdd7018fa879134f05b5daff1e1
mesa: Additional FlipY applications

Instances where direction was determined based on
winsys or user fbo and should be determined based on
FlipY.

Key STATE_FB_WPOS_Y_TRANSFORM for of FlipY instead of
_mesa_is_user_fbo.  This corrects gl_FragCoord usage
when applying GL_MESA_framebuffer_flip_y.

Fixes: ab05dd183cc ("i965: implement GL_MESA_framebuffer_flip_y [v3]")
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/multisample.c
src/mesa/program/prog_statevars.c