projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ed6b14
)
r600g: flush FMASK and CMASK at the end of CS
author
Marek Olšák
<maraeo@gmail.com>
Sun, 6 Jan 2013 19:28:03 +0000
(20:28 +0100)
committer
Marek Olšák
<maraeo@gmail.com>
Sun, 6 Jan 2013 21:06:34 +0000
(22:06 +0100)
src/gallium/drivers/r600/r600_hw_context.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_hw_context.c
b/src/gallium/drivers/r600/r600_hw_context.c
index 163917eeca0828c72fc559fa03c36389f59de0be..1506b393ce15d9ccfb74a3a7d7d567225cc90bbb 100644
(file)
--- 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);