This could happen if set_stream_output_targets is called twice
in a row without a draw call in between.
---
 src/gallium/drivers/radeon/r600_streamout.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/gallium/drivers/radeon/r600_streamout.c 
b/src/gallium/drivers/radeon/r600_streamout.c
index 313d737..18f7d88 100644
--- a/src/gallium/drivers/radeon/r600_streamout.c
+++ b/src/gallium/drivers/radeon/r600_streamout.c
@@ -137,6 +137,8 @@ void r600_set_streamout_targets(struct pipe_context *ctx,
 
        if (num_targets) {
                r600_streamout_buffers_dirty(rctx);
+       } else {
+               rctx->streamout.begin_atom.dirty = false;
        }
 }
 
-- 
1.8.1.2

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to