From e974c78cd524106df194f24a6d4a630318501bfc Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Fri, 22 Feb 2013 09:21:30 -0500 Subject: [PATCH 1/5] r600g: add missing emit_flush for R600_CONTEXT_FLUSH_AND_INV case We set the cp_coher_cntl bits but never emit them. Signed-off-by: Alex Deucher --- src/gallium/drivers/r600/r600_hw_context.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/gallium/drivers/r600/r600_hw_context.c b/src/gallium/drivers/r600/r600_hw_context.c index ebcd682..b3899ae 100644 --- a/src/gallium/drivers/r600/r600_hw_context.c +++ b/src/gallium/drivers/r600/r600_hw_context.c @@ -676,6 +676,7 @@ void r600_flush_emit(struct r600_context *rctx) S_0085F0_TC_ACTION_ENA(1) | S_0085F0_FULL_CACHE_ENA(1); } + emit_flush = 1; } if (rctx->flags & R600_CONTEXT_INVAL_READ_CACHES) { -- 1.7.7.5