fragment.position support
authorRune Petersen <rune@megahurts.dk>
Fri, 17 Nov 2006 19:12:42 +0000 (19:12 +0000)
committerRune Petersen <rune@megahurts.dk>
Fri, 17 Nov 2006 19:12:42 +0000 (19:12 +0000)
commit6c9cc81601e87b87f11b89669175dc5bbae4c36b
tree3220a7b8fa3e30604604e9955597eb245f619d2e
parent0f614df7974a7126324a7fa5d80ee5c588a76f03
fragment.position support
World position is calculated in the vertex shader and passed to the
fragment shader via an unused texcoord.
src/mesa/drivers/dri/r300/r300_context.h
src/mesa/drivers/dri/r300/r300_fragprog.c
src/mesa/drivers/dri/r300/r300_state.c
src/mesa/drivers/dri/r300/r300_vertexprog.c