Re: [Mesa-dev] [PATCH 4/4] svga: clean up the compile_vs/gs/fs() functions

2015-09-10 Thread Charmaine Lee
For the series, Reviewed-by: Charmaine Lee From: Brian Paul Sent: Thursday, September 10, 2015 8:04 AM To: mesa-dev@lists.freedesktop.org Cc: Charmaine Lee; Brian Paul Subject: [PATCH 4/4] svga: clean up the compile_vs/gs/fs() functions Simplify structur

[Mesa-dev] [PATCH 4/4] svga: clean up the compile_vs/gs/fs() functions

2015-09-10 Thread Brian Paul
Simplify structure and remove gotos. --- src/gallium/drivers/svga/svga_state_fs.c | 29 ++--- src/gallium/drivers/svga/svga_state_gs.c | 19 +++ src/gallium/drivers/svga/svga_state_vs.c | 28 ++-- 3 files changed, 27 insertions(+), 49