diff options
author | Brian <brian.paul@tungstengraphics.com> | 2008-01-31 13:36:00 -0700 |
---|---|---|
committer | Ben Skeggs <skeggsb@gmail.com> | 2008-02-15 13:50:27 +1100 |
commit | 5ee218a02186188f5819e5a4e1e15296bbd57322 (patch) | |
tree | ded9fb58c8520cffa03a83d6ab4eddb171b637de /src/mesa/pipe | |
parent | 6c59de9a7bcc025ba070b854d79bf4fb8dcccabf (diff) |
gallium: Fix z clear bug when TILE_CLEAR_OPTIMIZATION==0
Diffstat (limited to 'src/mesa/pipe')
-rw-r--r-- | src/mesa/pipe/softpipe/sp_clear.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/pipe/softpipe/sp_clear.c b/src/mesa/pipe/softpipe/sp_clear.c index 571f64b38d..8d295a30ca 100644 --- 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++) { |