projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fc4100
)
llvmpipe: set dirty_render_cache in llvmpipe_clear()
author
José Fonseca
<jfonseca@vmware.com>
Fri, 11 Sep 2009 10:29:24 +0000
(11:29 +0100)
committer
José Fonseca
<jfonseca@vmware.com>
Fri, 11 Sep 2009 10:29:24 +0000
(11:29 +0100)
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
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_clear.c
b/src/gallium/drivers/llvmpipe/lp_clear.c
index
580cca5
..
bdcff94
100644
(file)
--- 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) {