From cc2cd8b356e137c83600d5e1804fd6162ce687c9 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Tue, 26 Jun 2012 03:35:25 +0200 Subject: r600g: don't disable streamout if it hasn't been started --- src/gallium/drivers/r600/r600_state_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers') 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); } -- cgit v1.2.3