i965: fix render to FBO/texture orientation bugs
authorBrian Paul <brianp@vmware.com>
Thu, 29 Jan 2009 18:07:14 +0000 (11:07 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 29 Jan 2009 18:07:14 +0000 (11:07 -0700)
commitba367f68ccacf255f78ac0c8dd066e64bbb1e5c2
tree09e8ac5330ab486b6714c6d13666b9cf16c4badc
parent2897cee99fb877e1f3cd9a881a61418c9c31867f
i965: fix render to FBO/texture orientation bugs

Anytime we're not rendering to the default/window FBO, need to invert
rendering, not just when rendering to a texture.  Otherwise, if a FBO
consists of a mix of textures and renderbuffers the up/down orientation
was inconsistant.

Fixes shadowtex.c bad rendering.
src/mesa/drivers/dri/i965/brw_sf_state.c