st/mesa: remove duplicate calculation of fp input mapping
authorKeith Whitwell <keithw@vmware.com>
Mon, 1 Feb 2010 20:42:34 +0000 (20:42 +0000)
committerKeith Whitwell <keithw@vmware.com>
Mon, 1 Feb 2010 20:42:34 +0000 (20:42 +0000)
commite1906ae98ef4d8f153553056552c06ac4292d1f5
treec01194bb40fe6a1a44f7c2608d90f144bb8f8d22
parentd51b04320d79234f86fc2b881dab33e646400e76
st/mesa: remove duplicate calculation of fp input mapping

This was being calculated the same way in two different places.
Now just do it in st_translate_fragment_program().
src/mesa/state_tracker/st_atom_shader.c
src/mesa/state_tracker/st_cb_bitmap.c
src/mesa/state_tracker/st_cb_drawpixels.c
src/mesa/state_tracker/st_program.c
src/mesa/state_tracker/st_program.h