projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c36cdc6
)
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
Brian
<brian.paul@tungstengraphics.com>
Thu, 31 Jan 2008 20:41:14 +0000
(13:41 -0700)
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 571f64b38d7b5edffbe6bd38fdb83ae1a12f6727..8d295a30ca6e3ecfb1425705f42e929088780512 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++) {