st/mesa: inline st_prepare_fragment_program in st_translate_fragment_program
authorBryan Cain <bryancain3@gmail.com>
Sun, 7 Aug 2011 19:15:35 +0000 (14:15 -0500)
committerBryan Cain <bryancain3@gmail.com>
Mon, 8 Aug 2011 15:28:59 +0000 (10:28 -0500)
commitffb7d02154186402f64e0b628998485309774bb8
tree85372fb551548f7f87b97a9ca3a6bed6e66898b8
parent506de1954919e5346f382e66a7ec111af7e71a56
st/mesa: inline st_prepare_fragment_program in st_translate_fragment_program

This reverts an unnecessary part of commit 4683529048ee and fixes misrendering
and an assertion failure in Cogs.

Fixes freedesktop.org bug 39888.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/state_tracker/st_program.c
src/mesa/state_tracker/st_program.h