svga: clean up retry_draw_range_elements(), retry_draw_arrays()
authorBrian Paul <brianp@vmware.com>
Thu, 1 Feb 2018 03:18:52 +0000 (20:18 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 1 Feb 2018 19:17:59 +0000 (12:17 -0700)
commit7a1401938b3514a95ffbdb2ec70987138ccabc3a
treedc0268c869d41a30a011d52bee5abb90e93aaa85
parentc7442895526a8c3e41eaf985827c66907d9e8ad6
svga: clean up retry_draw_range_elements(), retry_draw_arrays()

Get rid of a bunch of goto spaghetti.  Remove unneeded do_retry parameter.
No Piglit changes.  Also tested w/ Google Earth and other apps.

Reviewed-by: Neha Bhende <bhenden@vmware.com>
src/gallium/drivers/svga/svga_pipe_draw.c