Mesa (master): radeonsi: mark MSAA config state as dirty at the beginning of CS

Marek Olšák mareko at kemper.freedesktop.org
Tue Jul 8 18:46:50 UTC 2014


Module: Mesa
Branch: master
Commit: be536efe20d7d0969e6d5286fc488fcc1c403b63
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=be536efe20d7d0969e6d5286fc488fcc1c403b63

Author: Marek Olšák <marek.olsak at amd.com>
Date:   Tue Jul  8 02:02:40 2014 +0200

radeonsi: mark MSAA config state as dirty at the beginning of CS

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=81020

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

---

 src/gallium/drivers/radeonsi/si_hw_context.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/drivers/radeonsi/si_hw_context.c b/src/gallium/drivers/radeonsi/si_hw_context.c
index e4ce3af..56fa664 100644
--- a/src/gallium/drivers/radeonsi/si_hw_context.c
+++ b/src/gallium/drivers/radeonsi/si_hw_context.c
@@ -160,6 +160,7 @@ void si_begin_new_cs(struct si_context *ctx)
 	ctx->emitted.named.init = ctx->queued.named.init;
 
 	ctx->framebuffer.atom.dirty = true;
+	ctx->msaa_config.dirty = true;
 	ctx->b.streamout.enable_atom.dirty = true;
 	si_all_descriptors_begin_new_cs(ctx);
 




More information about the mesa-commit mailing list