st/mesa: cleanup st_translate_geometry_program
authorMarek Olšák <marek.olsak@amd.com>
Sun, 22 Feb 2015 12:22:07 +0000 (13:22 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 24 Feb 2015 20:21:04 +0000 (21:21 +0100)
commit558f51f1c5491d86c73769065c6df12a2b73dc4d
tree9698899ea3a0d0304c9f8a0a872da2b4d5df3f56
parent94746cadc04c23add7750b446865b88297ff0a46
st/mesa: cleanup st_translate_geometry_program

Mostly dead code or code that didn't do anything.

Computing gs_num_outputs at the end was also useless. It's already set
correctly.

Reviewed-by: Dave Airlie <airlied@redhat.com>
src/mesa/state_tracker/st_program.c