summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svga_streamout.h
diff options
context:
space:
mode:
authorCharmaine Lee <[email protected]>2016-01-20 10:35:56 -0800
committerBrian Paul <[email protected]>2016-03-21 13:37:40 -0600
commit47856e59456361f2218e03d997d2735e1a848230 (patch)
treeb45205ee9ed04a6bdb1f80374ed36f53a85cc326 /src/gallium/drivers/svga/svga_streamout.h
parent47cfc83440c3030999a08c0b5fccae860294608c (diff)
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 <[email protected]> Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga/svga_streamout.h')
-rw-r--r--src/gallium/drivers/svga/svga_streamout.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/svga/svga_streamout.h b/src/gallium/drivers/svga/svga_streamout.h
index da0c4457d2e..1daa1ad5352 100644
--- a/src/gallium/drivers/svga/svga_streamout.h
+++ b/src/gallium/drivers/svga/svga_streamout.h
@@ -47,4 +47,7 @@ void
svga_delete_stream_output(struct svga_context *svga,
struct svga_stream_output *streamout);
+enum pipe_error
+svga_rebind_stream_output_targets(struct svga_context *svga);
+
#endif /* SVGA_STREAMOUT_H */