From: José Fonseca Date: Fri, 11 Sep 2009 10:29:24 +0000 (+0100) Subject: llvmpipe: set dirty_render_cache in llvmpipe_clear() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=672c5f52d1f97ed20d9f382b33c13919ec811684;p=mesa.git llvmpipe: set dirty_render_cache in llvmpipe_clear() Based on Brian's softpipe change on commit 988db641195819c948249a1bb2d59f13577a482f. We don't use the tile cache for zsbuf though, only for color buffers. --- diff --git a/src/gallium/drivers/llvmpipe/lp_clear.c b/src/gallium/drivers/llvmpipe/lp_clear.c index 580cca5b463..bdcff94b9bf 100644 --- a/src/gallium/drivers/llvmpipe/lp_clear.c +++ b/src/gallium/drivers/llvmpipe/lp_clear.c @@ -67,6 +67,7 @@ llvmpipe_clear(struct pipe_context *pipe, unsigned buffers, const float *rgba, util_pack_color(rgba, ps->format, &cv); lp_tile_cache_clear(llvmpipe->cbuf_cache[i], rgba, cv); } + llvmpipe->dirty_render_cache = TRUE; } if (buffers & PIPE_CLEAR_DEPTHSTENCIL) {