st/mesa: inline st_prepare_vertex_program
authorMarek Olšák <marek.olsak@amd.com>
Sat, 3 Oct 2015 20:35:22 +0000 (22:35 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 9 Oct 2015 20:02:18 +0000 (22:02 +0200)
commit4a21edf067b3fdcc58d9df5cbdcd04430b8077f3
tree4d9047540f49b35f4121c8fa5ffb054b2a39aaf6
parentc80c19a9d550745b68ce1df5f6c73e89a41514fa
st/mesa: inline st_prepare_vertex_program

No other shader stage has a "prepare" function.
This will allow removing some variables from st_vertex_program.

Also, prepare_fragment_program was a dead prototype.

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