r600: fix fragment.position
authorAndre Maasikas <amaasikas@gmail.com>
Mon, 14 Dec 2009 14:39:19 +0000 (16:39 +0200)
committerAndre Maasikas <amaasikas@gmail.com>
Tue, 15 Dec 2009 07:46:57 +0000 (09:46 +0200)
commitbae5e7f213b7df1d7e3381e64b69beffd1243dc4
treeb1d29407dc0ae7adebfeffb45d9b80c1db103fc2
parent10f5cff6ac1ce7c7cee1a11cf5d68cae728e8f8b
r600: fix fragment.position

wpos.y seems inferted to what opengl expexts, so calculate correct
value from window dimension and replace references in fragmentprog
with calculated value
src/mesa/drivers/dri/r600/r700_fragprog.c
src/mesa/drivers/dri/r600/r700_fragprog.h