winsys/radeon: fix a race condition between winsys_create and winsys_destroy
[mesa.git] / src / gallium / drivers / radeonsi / si_hw_context.c
index 3437f59d60bfbe0663faa14d538740a108ea828c..c952c8d31f70517bc536a6cccbf4879597dfeefc 100644 (file)
@@ -176,6 +176,8 @@ void si_begin_new_cs(struct si_context *ctx)
                r600_resume_nontimer_queries(&ctx->b);
        }
 
+       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;