projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c59de9
)
gallium: Fix z clear bug when TILE_CLEAR_OPTIMIZATION==0
author
Brian
<brian.paul@tungstengraphics.com>
Thu, 31 Jan 2008 20:36:00 +0000
(13:36 -0700)
committer
Ben Skeggs
<skeggsb@gmail.com>
Fri, 15 Feb 2008 02:50:27 +0000
(13:50 +1100)
src/mesa/pipe/softpipe/sp_clear.c
patch
|
blob
|
history
diff --git
a/src/mesa/pipe/softpipe/sp_clear.c
b/src/mesa/pipe/softpipe/sp_clear.c
index
571f64b
..
8d295a3
100644
(file)
--- a/
src/mesa/pipe/softpipe/sp_clear.c
+++ b/
src/mesa/pipe/softpipe/sp_clear.c
@@
-55,7
+55,9
@@
softpipe_clear(struct pipe_context *pipe, struct pipe_surface *ps,
if (ps == sp_tile_cache_get_surface(softpipe->zsbuf_cache)) {
sp_tile_cache_clear(softpipe->zsbuf_cache, clearValue);
+#if TILE_CLEAR_OPTIMIZATION
return;
+#endif
}
for (i = 0; i < softpipe->framebuffer.num_cbufs; i++) {