aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2013-01-06 20:28:03 +0100
committerMarek Olšák <[email protected]>2013-01-06 22:06:34 +0100
commitafec10df373f342f058aab66c622237964a4a147 (patch)
treeb411d9232b9c76c2e7bc090cd8136d11153c0fe9 /src/gallium/drivers
parent8ed6b1400bc8a78f46340f41aaf2e88b24c23267 (diff)
r600g: flush FMASK and CMASK at the end of CS
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/r600/r600_hw_context.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_hw_context.c b/src/gallium/drivers/r600/r600_hw_context.c
index 163917eeca0..1506b393ce1 100644
--- a/src/gallium/drivers/r600/r600_hw_context.c
+++ b/src/gallium/drivers/r600/r600_hw_context.c
@@ -707,7 +707,9 @@ void r600_context_flush(struct r600_context *ctx, unsigned flags)
/* flush is needed to avoid lockups on some chips with user fences
* this will also flush the framebuffer cache
*/
- ctx->flags |= R600_CONTEXT_WAIT_IDLE | R600_CONTEXT_FLUSH_AND_INV;
+ ctx->flags |= R600_CONTEXT_FLUSH_AND_INV |
+ R600_CONTEXT_FLUSH_AND_INV_CB_META |
+ R600_CONTEXT_WAIT_IDLE;
r600_flush_emit(ctx);