Module: Mesa
Branch: master
Commit: 672c5f52d1f97ed20d9f382b33c13919ec811684
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=672c5f52d1f97ed20d9f382b33c13919ec811684

Author: José Fonseca <[email protected]>
Date:   Fri Sep 11 11:29:24 2009 +0100

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.

---

 src/gallium/drivers/llvmpipe/lp_clear.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/gallium/drivers/llvmpipe/lp_clear.c 
b/src/gallium/drivers/llvmpipe/lp_clear.c
index 580cca5..bdcff94 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) {

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to