st/mesa: fix incorrect fragcoord.x translation
authorBrian Paul <brianp@vmware.com>
Tue, 25 Jan 2011 18:54:05 +0000 (11:54 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 25 Jan 2011 18:54:07 +0000 (11:54 -0700)
commitbb56631f0cb6b3fc552a72e0165816909bf6fdc9
tree9c08c2902ed76b8a19c68020a1f7ac84fda62fba
parent37bffe8d128bd00343169188c9af4852bbd4783e
st/mesa: fix incorrect fragcoord.x translation

emit_adjusted_wpos() needs separate x,y translation values.  If we
invert Y, we don't want to effect X.

Part of the fix for http://bugs.freedesktop.org/show_bug.cgi?id=26795

NOTE: This is a candidate for the 7.9 and 7.10 branches.
src/mesa/state_tracker/st_mesa_to_tgsi.c