svga: clean up return values and error codes
authorBrian Paul <brianp@vmware.com>
Thu, 22 Sep 2011 23:02:59 +0000 (17:02 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 23 Sep 2011 13:59:00 +0000 (07:59 -0600)
commit5f053bf4ae092df9e5ff6ab38caf9867e6fe46bf
tree17e87d1b8f619f81b3ff542229b8a6f3c6de0f78
parent681f92140c2f4170ec222a8213e0895c7fa8483a
svga: clean up return values and error codes

Previously we were using a hodge podge of int vs. pipe_enum and
0 vs. PIPE_OK.  Some functions that always returned PIPE_OK were
made void.
15 files changed:
src/gallium/drivers/svga/svga_context.c
src/gallium/drivers/svga/svga_draw.c
src/gallium/drivers/svga/svga_draw_arrays.c
src/gallium/drivers/svga/svga_draw_elements.c
src/gallium/drivers/svga/svga_pipe_clear.c
src/gallium/drivers/svga/svga_pipe_draw.c
src/gallium/drivers/svga/svga_state.c
src/gallium/drivers/svga/svga_state.h
src/gallium/drivers/svga/svga_state_constants.c
src/gallium/drivers/svga/svga_state_fs.c
src/gallium/drivers/svga/svga_state_vdecl.c
src/gallium/drivers/svga/svga_state_vs.c
src/gallium/drivers/svga/svga_swtnl_backend.c
src/gallium/drivers/svga/svga_swtnl_draw.c
src/gallium/drivers/svga/svga_tgsi.c