From: Alex Deucher Date: Fri, 22 Feb 2013 14:21:30 +0000 (-0500) Subject: r600g: add missing emit_flush for R600_CONTEXT_FLUSH_AND_INV case X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e5e4c07e7964a3258ed02b530bcdc24c0650204b;p=mesa.git 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 Reviewed-by: Jerome Glisse Reviewed-by: Marek Olšák --- 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) {