winsys/radeon: fix a race condition between winsys_create and winsys_destroy
[mesa.git] / src / gallium / drivers / radeonsi / si_hw_context.c
index 21a683ff5f76023a40f7d263e9e02f1c2013e0cf..c952c8d31f70517bc536a6cccbf4879597dfeefc 100644 (file)
@@ -177,6 +177,7 @@ void si_begin_new_cs(struct si_context *ctx)
        }
 
        ctx->framebuffer.atom.dirty = true;
+       ctx->b.streamout.enable_atom.dirty = true;
        si_all_descriptors_begin_new_cs(ctx);
 
        ctx->b.initial_gfx_cs_size = ctx->b.rings.gfx.cs->cdw;