svga: rebind stream output targets
authorCharmaine Lee <charmainel@vmware.com>
Wed, 20 Jan 2016 18:35:56 +0000 (10:35 -0800)
committerBrian Paul <brianp@vmware.com>
Mon, 21 Mar 2016 19:37:40 +0000 (13:37 -0600)
commit47856e59456361f2218e03d997d2735e1a848230
treeb45205ee9ed04a6bdb1f80374ed36f53a85cc326
parent47cfc83440c3030999a08c0b5fccae860294608c
svga: rebind stream output targets

To ensure stream output target surfaces are available for the draw commands,
we need to rebind the current stream output targets at the first draw in the
command buffer.

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_streamout.c
src/gallium/drivers/svga/svga_streamout.h