projects
/
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 580cca5b463ed5e8ff6033387ec98430d387bb0e..bdcff94b9bf1fe06b4800361a63d9720285078c8 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) {