summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-06-26 03:35:25 +0200
committerMarek Olšák <[email protected]>2012-06-26 03:37:24 +0200
commitcc2cd8b356e137c83600d5e1804fd6162ce687c9 (patch)
tree62d577a3a8d16ffd608d89984a85e682bd2d12c2 /src
parent496399d8e918463650d88c3a9ca829357dc71f97 (diff)
r600g: don't disable streamout if it hasn't been started
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/r600/r600_state_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_state_common.c b/src/gallium/drivers/r600/r600_state_common.c
index 00e1bd0cf12..a2ea42f9c5f 100644
--- a/src/gallium/drivers/r600/r600_state_common.c
+++ b/src/gallium/drivers/r600/r600_state_common.c
@@ -644,7 +644,7 @@ void r600_set_so_targets(struct pipe_context *ctx,
unsigned i;
/* Stop streamout. */
- if (rctx->num_so_targets) {
+ if (rctx->num_so_targets && !rctx->streamout_start) {
r600_context_streamout_end(rctx);
}