svga: move assertion in draw_vgpu10()
authorBrian Paul <brianp@vmware.com>
Fri, 30 Jun 2017 21:07:08 +0000 (14:07 -0700)
committerBrian Paul <brianp@vmware.com>
Mon, 3 Jul 2017 16:10:13 +0000 (10:10 -0600)
commit6b4bf7e8be3cc0f350c701efa67313197881cf99
treecae7eb5496f0ba0b6af8358d8a88a7796e24cf37
parent9bd047aa268a7be1222edb10ee448886fcdc9a68
svga: move assertion in draw_vgpu10()

The buffer binding flags aren't ensured until after the
svga_buffer_handle() call, so move the assertion after it.

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