r600: load per-pixel position into PS in order to use fragment.position.
authorCooper Yuan <cooperyuan@gmail.com>
Sun, 9 Aug 2009 04:18:40 +0000 (12:18 +0800)
committerCooper Yuan <cooperyuan@gmail.com>
Sun, 9 Aug 2009 04:18:40 +0000 (12:18 +0800)
commitb2927a620409e49f26592e8f4bde6911e29de3f3
treeb69e04107b95a770a9a383ba5a6617afbcc49c56
parent483a7916d1c93d1edf125dc671dcfbff42a9fc5e
r600: load per-pixel position into PS in order to use fragment.position.

This patch can fix /progs/fp/tri-depth, tri-depth2, tri-depthwrite,
tri-depthwrite2 and point-position.
src/mesa/drivers/dri/r600/r700_fragprog.c