From c36b165b94daa92643e17caf06704a9108eae555 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Tue, 4 Feb 2014 00:54:43 +0100 Subject: [PATCH] possible-fix --- src/gallium/drivers/radeon/r600_buffer_common.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gallium/drivers/radeon/r600_buffer_common.c b/src/gallium/drivers/radeon/r600_buffer_common.c index 63b1e60..7d9a65a 100644 --- a/src/gallium/drivers/radeon/r600_buffer_common.c +++ b/src/gallium/drivers/radeon/r600_buffer_common.c @@ -304,6 +304,10 @@ static void r600_buffer_transfer_unmap(struct pipe_context *ctx, ctx->resource_copy_region(ctx, dst, 0, doffset, 0, 0, src, 0, &box); } pipe_resource_reference((struct pipe_resource**)&rtransfer->staging, NULL); + + rctx->flags |= R600_CONTEXT_INV_VERTEX_CACHE | + R600_CONTEXT_INV_CONST_CACHE | + R600_CONTEXT_INV_TEX_CACHE; } if (transfer->usage & PIPE_TRANSFER_WRITE) { -- 1.8.3.2