From e5e4c07e7964a3258ed02b530bcdc24c0650204b Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Fri, 22 Feb 2013 09:21:30 -0500 Subject: [PATCH] r600g: add missing emit_flush for R600_CONTEXT_FLUSH_AND_INV case MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit We set the cp_coher_cntl bits but never emit them. Signed-off-by: Alex Deucher Reviewed-by: Jerome Glisse Reviewed-by: Marek Olšák --- src/gallium/drivers/r600/r600_hw_context.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/r600/r600_hw_context.c b/src/gallium/drivers/r600/r600_hw_context.c index 9a93edd2209..ec098c1f7cf 100644 --- a/src/gallium/drivers/r600/r600_hw_context.c +++ b/src/gallium/drivers/r600/r600_hw_context.c @@ -680,6 +680,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) { -- 2.30.2