svga: clean up the compile_vs/gs/fs() functions
authorBrian Paul <brianp@vmware.com>
Thu, 10 Sep 2015 14:55:01 +0000 (08:55 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 10 Sep 2015 18:23:46 +0000 (12:23 -0600)
commita9b143a648ff77ac76ff6f4580559f1a061e37f9
tree997484e22de0b0a4f00f96a2e93f8f6c8421a33c
parent289804515f7de20cb41a5e1b4c20864f0dab8d51
svga: clean up the compile_vs/gs/fs() functions

Sipmlify structure and remove gotos.

Reviewed-by: Charmaine Lee <charmainel@vmware.com>
src/gallium/drivers/svga/svga_state_fs.c
src/gallium/drivers/svga/svga_state_gs.c
src/gallium/drivers/svga/svga_state_vs.c