From cc2cd8b356e137c83600d5e1804fd6162ce687c9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Tue, 26 Jun 2012 03:35:25 +0200 Subject: [PATCH] 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(-) 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); } -- 2.30.2