svga: refactor draw_vgpu10() function
authorBrian Paul <brianp@vmware.com>
Wed, 6 Mar 2019 17:16:57 +0000 (10:16 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 8 Mar 2019 14:40:35 +0000 (07:40 -0700)
commit07e8a31e494702e993a4fa1fa2a04ab3e3c4a011
tree99b5438cf78e6ae68beb8b8ec9afa2aea7c5e5ee
parent53acd4c688909e62850d91120b798ff371d296ee
svga: refactor draw_vgpu10() function

The draw_vgpu10() function was huge.  Move the code for preparing the
vertex buffers and the index buffer into separate functions.

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