svga: pass tobind_flags to svga_buffer_handle
authorCharmaine Lee <charmainel@vmware.com>
Mon, 26 Jun 2017 23:24:15 +0000 (17:24 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 27 Jun 2017 13:49:02 +0000 (07:49 -0600)
commitb549f5e6b1dfba42b96d4181116715bf218a66dc
tree2590edf39771efd9392b9d511988e116dba10563
parent4a79b508a4a7cd608059dd30461e086651ae48b5
svga: pass tobind_flags to svga_buffer_handle

This is to prepare for more bind_flags optimization
in subsequent patches.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/drivers/svga/svga_draw.c
src/gallium/drivers/svga/svga_pipe_blit.c
src/gallium/drivers/svga/svga_pipe_streamout.c
src/gallium/drivers/svga/svga_resource_buffer.c
src/gallium/drivers/svga/svga_resource_buffer.h
src/gallium/drivers/svga/svga_resource_buffer_upload.c
src/gallium/drivers/svga/svga_resource_texture.c
src/gallium/drivers/svga/svga_state_constants.c